changed data store to .env variable
This commit is contained in:
parent
5156828e2f
commit
c706667bb1
@ -18,4 +18,6 @@ sample .env:
|
||||
# the traefik network you want to use
|
||||
TRAEFIK_NETWORK=traefik_net
|
||||
|
||||
PROJECT_DATA=./data
|
||||
|
||||
then execute the first time the init script
|
||||
|
@ -19,8 +19,8 @@ services:
|
||||
- "GOTIFY_DATABASE_DIALECT=sqlite3"
|
||||
- "GOTIFY_DATABASE_CONNECTION=db/gotify.db"
|
||||
volumes:
|
||||
- "./data/gotify:/app/data"
|
||||
- "./data/db:/app/db"
|
||||
- "${PROJECT_DATA}/${PROJECT_NAME}-gotify/gotify:/app/data"
|
||||
- "${PROJECT_DATA}/${PROJECT_NAME}-gotify/db:/app/db"
|
||||
- "/etc/timezone:/etc/timezone:ro"
|
||||
- "/etc/localtime:/etc/localtime:ro"
|
||||
labels:
|
||||
|
Loading…
Reference in New Issue
Block a user