# /opt/stacks/gotify/docker-compose.yml services: gotify: image: gotify/server:latest container_name: gotify restart: unless-stopped ports: - "127.0.0.1:8070:80" volumes: - ./data/gotify:/app/data environment: - GOTIFY_DEFAULTUSER_NAME=${GOTIFY_USER} - GOTIFY_DEFAULTUSER_PASS=${GOTIFY_PASSWORD} - TZ=${TZ} networks: - shared_net networks: shared_net: external: true name: shared_net