49 lines
1.2 KiB
YAML
Executable File
49 lines
1.2 KiB
YAML
Executable File
services:
|
|
gotify:
|
|
image: gotify/server
|
|
restart: unless-stopped
|
|
container_name: gotify
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 128M
|
|
ports:
|
|
- 9085:80
|
|
environment:
|
|
- GOTIFY_DATABASE_DIALECT=mysql
|
|
- GOTIFY_DATABASE_CONNECTION=gotify:DBpass14@tcp(192.168.178.170:3306)/gotifydb?charset=utf8&parseTime=True&loc=Local
|
|
- GOTIFY_DEFAULTUSER_NAME=admin
|
|
- GOTIFY_DEFAULTUSER_PASS=admin
|
|
- GOTIFY_PASSSTRENGTH=10
|
|
- GOTIFY_UPLOADEDIMAGESDIR=data/images
|
|
- GOTIFY_PLUGINSDIR=data/plugins
|
|
- GOTIFY_REGISTRATION=false
|
|
volumes:
|
|
- /opt/gotify/data:/app/data
|
|
igotify:
|
|
container_name: igotify
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- gotify
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 256M
|
|
hostname: igotify
|
|
image: ghcr.io/androidseb25/igotify-notification-assist:latest
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
pull_policy: always
|
|
ports:
|
|
- 9681:8080
|
|
volumes:
|
|
- /opt/gotify/api-data:/app/data
|
|
environment:
|
|
GOTIFY_URLS: 192.168.178.183:9085
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8080/Version"]
|
|
interval: "3s"
|
|
timeout: "3s"
|
|
retries: 5
|
|
networks: {}
|