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