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
TRAEFIK_NETWORK=traefik_net
PROJECT_DATA=./data
then execute the first time the init script

View File

@ -19,8 +19,8 @@ services:
- "GOTIFY_DATABASE_DIALECT=sqlite3"
- "GOTIFY_DATABASE_CONNECTION=db/gotify.db"
volumes:
- "${PROJECT_DATA}/${PROJECT_NAME}-gotify/gotify:/app/data"
- "${PROJECT_DATA}/${PROJECT_NAME}-gotify/db:/app/db"
- "./data/gotify:/app/data"
- "./data/db:/app/db"
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
labels:

3
init
View File

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