mirror of
https://github.com/jrasanen/writefreely-docker.git
synced 2025-05-08 23:26:02 +03:00
Add .env instructions for docker compose
This commit is contained in:
parent
6047684086
commit
ee44d5dba8
3 changed files with 48 additions and 5 deletions
|
@ -6,7 +6,7 @@ services:
|
|||
context: .
|
||||
init: true
|
||||
env_file:
|
||||
- .env.mariadb
|
||||
- .env
|
||||
volumes:
|
||||
- ./data:/data
|
||||
ports:
|
||||
|
@ -22,7 +22,7 @@ services:
|
|||
volumes:
|
||||
- ./db-data:/var/lib/mysql
|
||||
env_file:
|
||||
- .env.mariadb
|
||||
- .env
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "mariadb-admin ping -h localhost -u${MARIADB_USER} -p${MARIADB_PASSWORD} || exit 1"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue