30 lines
857 B
YAML
30 lines
857 B
YAML
# Gotify Push Notification Server Configuration
|
|
services:
|
|
gotify:
|
|
# Basic container configuration
|
|
container_name: gotify
|
|
image: ghcr.io/gotify/server:2.6.3
|
|
restart: unless-stopped
|
|
|
|
# Application environment configuration
|
|
environment:
|
|
- TZ=${TZ} # Timezone configuration
|
|
- GOTIFY_REGISTRATION=${GOTIFY_REGISTRATION} # Allow/disallow new user registration
|
|
|
|
# Persistent storage configuration
|
|
volumes:
|
|
- ${APPDATA_PATH}/gotify/config:/app/data # Configuration and database storage
|
|
|
|
# Network port configuration
|
|
ports:
|
|
- ${PORT}:80 # Maps host port to Gotify web interface
|
|
|
|
# Network configuration
|
|
networks:
|
|
- frontend # Connects to frontend network
|
|
|
|
# External network definition
|
|
networks:
|
|
frontend:
|
|
external: true # Uses pre-existing frontend network
|