docker-portainer/install-gotify-on-docker/docker-compose.yml

46 lines
1.1 KiB
YAML
Raw Permalink Normal View History

version: '3.8'
services:
gotify:
container_name: gotify
hostname: gotify
image: gotify/server # Uncommand correct server image
# image: gotify/server-arm7
# image: gotify/server-arm64
restart: unless-stopped
security_opt:
- no-new-privileges:true
networks:
- net
ports:
- "8680:80"
volumes:
- data:/app/data
environment:
TZ: 'Europe/Berlin'
GOTIFY_DEFAULTUSER_PASS: 'my-very-strong-password' # Change me!!!!!
igotify:
container_name: igotify
hostname: igotify
image: ghcr.io/androidseb25/igotify-notification-assist:latest
restart: unless-stopped
security_opt:
- no-new-privileges:true
pull_policy: always
networks:
- net
ports:
- "8681:8080"
volumes:
- api-data:/app/data
environment:
IGOTIFY_CLIENT_TOKEN: '<CLIENT_TOKEN>' # create a client in gotify an add here the client token
GOTIFY_SERVER_URL: 'http://gotify' # default container name from gotify server
networks:
net:
volumes:
data:
api-data: