wordpress
This commit is contained in:
parent
6b8111257a
commit
b9ef4dfa41
30
srv/wordpress/docker-compose.yml
Normal file
30
srv/wordpress/docker-compose.yml
Normal 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: {}
|
16
srv/wordpress/wordpress.env
Normal file
16
srv/wordpress/wordpress.env
Normal 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
|
Loading…
Reference in New Issue
Block a user