Files
docker-compose/gotify/docker-compose.yml
T

30 lines
857 B
YAML
Raw Normal View History

2025-07-14 12:48:15 +05:30
# Gotify Push Notification Server Configuration
2025-06-18 23:20:59 +05:30
services:
gotify:
2025-07-14 12:48:15 +05:30
# Basic container configuration
2025-06-18 23:20:59 +05:30
container_name: gotify
2025-07-13 18:35:45 +05:30
image: ghcr.io/gotify/server:2.6.3
restart: unless-stopped
2025-07-14 12:48:15 +05:30
# Application environment configuration
2025-06-18 23:20:59 +05:30
environment:
2025-07-14 12:48:15 +05:30
- TZ=${TZ} # Timezone configuration
- GOTIFY_REGISTRATION=${GOTIFY_REGISTRATION} # Allow/disallow new user registration
# Persistent storage configuration
2025-06-18 23:20:59 +05:30
volumes:
2025-07-14 12:48:15 +05:30
- ${APPDATA_PATH}/gotify/config:/app/data # Configuration and database storage
# Network port configuration
2025-06-18 23:20:59 +05:30
ports:
2025-07-14 12:48:15 +05:30
- ${PORT}:80 # Maps host port to Gotify web interface
# Network configuration
2025-07-08 16:40:16 +05:30
networks:
2025-07-14 12:48:15 +05:30
- frontend # Connects to frontend network
2025-07-08 16:40:16 +05:30
2025-07-14 12:48:15 +05:30
# External network definition
2025-07-08 16:40:16 +05:30
networks:
frontend:
2025-07-14 12:48:15 +05:30
external: true # Uses pre-existing frontend network