Compare commits

..

No commits in common. "f3e82d4753c0d82926bffe0327a4a63aa014bfd2" and "5156828e2f08d0aeeb0d9c3cd7c27bfc14bc5d4e" have entirely different histories.

3 changed files with 3 additions and 6 deletions

View File

@ -18,6 +18,4 @@ 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

View File

@ -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:
- "${PROJECT_DATA}/${PROJECT_NAME}-gotify/gotify:/app/data" - "./data/gotify:/app/data"
- "${PROJECT_DATA}/${PROJECT_NAME}-gotify/db:/app/db" - "./data/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:

3
init
View File

@ -2,8 +2,7 @@
source ./.env source ./.env
mkdir -p ${PROJECT_DATA}/${PROJECT_NAME}-gotify/gotify mkdir data
mkdir -p ${PROJECT_DATA}/${PROJECT_NAME}-gotify/db
docker network create $TRAEFIK_NETWORK docker network create $TRAEFIK_NETWORK