Browse Source

wordpress

master
dan 9 months ago
parent
commit
b9ef4dfa41
  1. 30
      srv/wordpress/docker-compose.yml
  2. 16
      srv/wordpress/wordpress.env

30
srv/wordpress/docker-compose.yml

@ -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: {}

16
srv/wordpress/wordpress.env

@ -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
Loading…
Cancel
Save