wordpress

This commit is contained in:
dan 2020-12-10 22:48:07 +01:00
parent 6b8111257a
commit b9ef4dfa41
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,30 @@
version: '2.2'
services:
wordpress:
image: wordpress:latest
depends_on:
- db
networks:
- azuracast_frontend
- backend
restart: always
env_file: /srv/wordpress/wordpress.env
db:
image: mysql:5.7
volumes:
- database:/var/lib/mysql
networks:
- backend
restart: always
env_file: /srv/wordpress/wordpress.env
networks:
azuracast_frontend:
external: true
backend:
driver: bridge
volumes:
database: {}

View File

@ -0,0 +1,16 @@
VIRTUAL_HOST=wp.accroc.radio
LETSENCRYPT_HOST=wp.accroc.radio
LETSENCRYPT_EMAIL=
VIRTUAL_PORT=80
FILES_DIR=/srv/wordpress/www
WORDPRESS_DB_HOST=db:3306
WORDPRESS_DB_USER=wordpress
WORDPRESS_DB_PASSWORD=000111222
WORDPRESS_DB_NAME=wordpress
MYSQL_ROOT_PASSWORD=333444555
MYSQL_DATABASE=wordpress
MYSQL_USER=wordpress
MYSQL_PASSWORD=000111222