forked from argilla/docker
Decouple docker-compose and container credentials for Wordpress blog.
This commit is contained in:
parent
435bc45667
commit
2a7bf59f0b
|
@ -8,20 +8,17 @@ services:
|
|||
environment:
|
||||
WORDPRESS_DB_HOST: db
|
||||
WORDPRESS_DB_USER: root
|
||||
WORDPRESS_DB_PASSWORD: apVSHnTUrfDIdE5YcFvng
|
||||
WORDPRESS_DB_PASSWORD: "${BLOG_MYSQL_PASSWORD}"
|
||||
WORDPRESS_DB_NAME: golem_wordpress
|
||||
ports:
|
||||
- "127.0.0.1:7070:80"
|
||||
volumes:
|
||||
- "/srv/wordpress/app:/var/www/html"
|
||||
# - "/srv/sito:/var/www/html/sito"
|
||||
db:
|
||||
image: mariadb:latest
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: apVSHnTUrfDIdE5YcFvng
|
||||
MYSQL_ROOT_PASSWORD: "{BLOG_MYSQL_PASSWORD}"
|
||||
volumes:
|
||||
- "/srv/wordpress/db:/var/lib/mysql"
|
||||
# - "/tmp/golem_wordpress_dump.sql:/docker-entrypoint-initdb.d/dump.sql"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue