33 lines
569 B
YAML
33 lines
569 B
YAML
|
version: '3'
|
||
|
|
||
|
volumes:
|
||
|
db:
|
||
|
data:
|
||
|
|
||
|
services:
|
||
|
db:
|
||
|
image: mariadb
|
||
|
restart: "no"
|
||
|
volumes:
|
||
|
- db:/var/lib/mysql
|
||
|
environment:
|
||
|
MYSQL_DATABASE: ahum_backend
|
||
|
MYSQL_USER: ahum_backend
|
||
|
MYSQL_RANDOM_ROOT_PASSWORD: '1'
|
||
|
MYSQL_PASSWORD: Bmu6SJCc8ztGScoC2sk4i
|
||
|
|
||
|
wordpress:
|
||
|
build: .
|
||
|
volumes:
|
||
|
- data:/app/wordpress
|
||
|
restart: "no"
|
||
|
|
||
|
nginx:
|
||
|
build: ./nginx/
|
||
|
ports:
|
||
|
- 127.0.0.1:8180:443
|
||
|
volumes:
|
||
|
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||
|
- data:/app/wordpress
|
||
|
restart: "no"
|