release
This commit is contained in:
@@ -6,8 +6,8 @@ services:
|
||||
LISTEN_PORT: ${LISTEN_PORT:-8080}
|
||||
container_name: gpon-monitor
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${EXTERNAL_PORT:-8080}:${LISTEN_PORT:-8080}"
|
||||
expose:
|
||||
- "${LISTEN_PORT:-8080}"
|
||||
volumes:
|
||||
- ./data/rrd:/data/rrd
|
||||
env_file:
|
||||
@@ -23,6 +23,21 @@ services:
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
|
||||
caddy:
|
||||
image: caddy:alpine
|
||||
container_name: gpon-caddy
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${EXTERNAL_PORT:-8080}:80"
|
||||
environment:
|
||||
- LISTEN_PORT=${LISTEN_PORT:-8080}
|
||||
volumes:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
||||
depends_on:
|
||||
- gpon-monitor
|
||||
networks:
|
||||
- gpon-monitor-net
|
||||
|
||||
networks:
|
||||
gpon-monitor-net:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user