Add entrypoint to gotify/data

This commit is contained in:
Colin Hebert
2022-12-26 15:29:01 +01:00
parent c02b458455
commit 13a146a985
4 changed files with 31 additions and 8 deletions

View File

@@ -3,15 +3,12 @@ name: Notifications
services:
gotify:
image: gotify/server
entrypoint: ./entrypoint.sh
entrypoint: ./data/entrypoint.sh
networks:
- gotify
- traefik
volumes:
- gotify:/app/data
configs:
- source: gotify_entrypoint
target: /app/entrypoint.sh
secrets:
- admin_password
restart: unless-stopped
@@ -32,10 +29,6 @@ volumes:
o: bind
device: ${MOUNT_DIR?}/gotify/data/
configs:
gotify_entrypoint:
file: ${MOUNT_DIR?}/gotify/config/entrypoint.sh
secrets:
admin_password:
file: ${MOUNT_DIR?}/gotify/secrets/admin_password