Adding comprehensive comments
This commit is contained in:
@@ -1,18 +1,29 @@
|
||||
# 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}
|
||||
- GOTIFY_REGISTRATION=${GOTIFY_REGISTRATION}
|
||||
- TZ=${TZ} # Timezone configuration
|
||||
- GOTIFY_REGISTRATION=${GOTIFY_REGISTRATION} # Allow/disallow new user registration
|
||||
|
||||
# Persistent storage configuration
|
||||
volumes:
|
||||
- ${APPDATA_PATH}/gotify/config:/app/data
|
||||
- ${APPDATA_PATH}/gotify/config:/app/data # Configuration and database storage
|
||||
|
||||
# Network port configuration
|
||||
ports:
|
||||
- ${PORT}:80
|
||||
- ${PORT}:80 # Maps host port to Gotify web interface
|
||||
|
||||
# Network configuration
|
||||
networks:
|
||||
- frontend
|
||||
- frontend # Connects to frontend network
|
||||
|
||||
# External network definition
|
||||
networks:
|
||||
frontend:
|
||||
external: true
|
||||
external: true # Uses pre-existing frontend network
|
||||
|
Reference in New Issue
Block a user