36 lines
561 B
YAML
36 lines
561 B
YAML
services:
|
|
nginx:
|
|
container_name: nginx
|
|
image: nginx
|
|
build: nginx
|
|
ports:
|
|
- "443:443"
|
|
volumes:
|
|
- wordpress:/var/www/wordpress
|
|
depends_on:
|
|
- wordpress
|
|
|
|
wordpress:
|
|
container_name: wordpress
|
|
image: wordpress
|
|
build: wordpress
|
|
volumes:
|
|
- wordpress:/var/www/wordpress
|
|
depends_on:
|
|
- mariadb
|
|
env_file:
|
|
- .env
|
|
|
|
mariadb:
|
|
container_name: mariadb
|
|
image: mariadb
|
|
build: mariadb
|
|
volumes:
|
|
- mariadb:/data
|
|
env_file:
|
|
- .env
|
|
|
|
volumes:
|
|
wordpress:
|
|
mariadb:
|