fixes for future updates
This commit is contained in:
@@ -47,6 +47,7 @@ Overlord-Server/plugins/.plugin-state.json
|
|||||||
plugin-sample-go/*.wasm
|
plugin-sample-go/*.wasm
|
||||||
plugin-sample-go/*.zip
|
plugin-sample-go/*.zip
|
||||||
plugin-sample-go/*.h
|
plugin-sample-go/*.h
|
||||||
|
plugin-hrdp/*
|
||||||
|
|
||||||
# Runtime data
|
# Runtime data
|
||||||
Overlord-Server/data/
|
Overlord-Server/data/
|
||||||
|
|||||||
@@ -9,9 +9,10 @@ services:
|
|||||||
cache_to:
|
cache_to:
|
||||||
- type=local,dest=.docker-cache/buildx,mode=max
|
- type=local,dest=.docker-cache/buildx,mode=max
|
||||||
container_name: overlord-server
|
container_name: overlord-server
|
||||||
ports:
|
# Host networking: the container shares the host's network stack directly.
|
||||||
# Bind host-published port. Use 127.0.0.1 for local reverse proxies (ngrok/caddy/traefik).
|
# Every port the server binds (5173, SOCKS5 proxies, etc.) is accessible
|
||||||
- "${OVERLORD_PUBLISH_HOST:-0.0.0.0}:5173:5173"
|
# on the host with zero overhead — no per-port proxy process.
|
||||||
|
network_mode: host
|
||||||
environment:
|
environment:
|
||||||
# Optional username for first admin user
|
# Optional username for first admin user
|
||||||
- OVERLORD_USER=admin
|
- OVERLORD_USER=admin
|
||||||
@@ -51,8 +52,6 @@ services:
|
|||||||
# Uncomment to use a static config file instead of env vars
|
# Uncomment to use a static config file instead of env vars
|
||||||
# - ./Overlord-Server/config.json:/app/config.json:ro
|
# - ./Overlord-Server/config.json:/app/config.json:ro
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
|
||||||
- overlord-network
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
# Use http:// when OVERLORD_TLS_OFFLOAD=true.
|
# Use http:// when OVERLORD_TLS_OFFLOAD=true.
|
||||||
test: ["CMD-SHELL", "curl -f ${OVERLORD_HEALTHCHECK_URL:-https://localhost:5173/health} >/dev/null 2>&1 || exit 1"]
|
test: ["CMD-SHELL", "curl -f ${OVERLORD_HEALTHCHECK_URL:-https://localhost:5173/health} >/dev/null 2>&1 || exit 1"]
|
||||||
@@ -61,10 +60,6 @@ services:
|
|||||||
retries: 3
|
retries: 3
|
||||||
start_period: 40s
|
start_period: 40s
|
||||||
|
|
||||||
networks:
|
|
||||||
overlord-network:
|
|
||||||
driver: bridge
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
overlord-data:
|
overlord-data:
|
||||||
overlord-certs:
|
overlord-certs:
|
||||||
|
|||||||
+4
-9
@@ -9,9 +9,10 @@ services:
|
|||||||
cache_to:
|
cache_to:
|
||||||
- type=local,dest=.docker-cache/buildx,mode=max
|
- type=local,dest=.docker-cache/buildx,mode=max
|
||||||
container_name: overlord-server
|
container_name: overlord-server
|
||||||
ports:
|
# Host networking: the container shares the host's network stack directly.
|
||||||
# Bind host-published port. Use 127.0.0.1 for local reverse proxies (ngrok/caddy/traefik).
|
# Every port the server binds (5173, SOCKS5 proxies, etc.) is accessible
|
||||||
- "${OVERLORD_PUBLISH_HOST:-0.0.0.0}:${PORT:-5173}:5173"
|
# on the host with zero overhead — no per-port proxy process.
|
||||||
|
network_mode: host
|
||||||
environment:
|
environment:
|
||||||
PORT: ${PORT:-5173}
|
PORT: ${PORT:-5173}
|
||||||
HOST: ${HOST:-0.0.0.0}
|
HOST: ${HOST:-0.0.0.0}
|
||||||
@@ -54,8 +55,6 @@ services:
|
|||||||
init: true
|
init: true
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
networks:
|
|
||||||
- overlord-network
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
# Use http:// when OVERLORD_TLS_OFFLOAD=true.
|
# Use http:// when OVERLORD_TLS_OFFLOAD=true.
|
||||||
test: ["CMD-SHELL", "curl -f ${OVERLORD_HEALTHCHECK_URL:-https://localhost:5173/health} >/dev/null 2>&1 || exit 1"]
|
test: ["CMD-SHELL", "curl -f ${OVERLORD_HEALTHCHECK_URL:-https://localhost:5173/health} >/dev/null 2>&1 || exit 1"]
|
||||||
@@ -64,10 +63,6 @@ services:
|
|||||||
retries: 3
|
retries: 3
|
||||||
start_period: 40s
|
start_period: 40s
|
||||||
|
|
||||||
networks:
|
|
||||||
overlord-network:
|
|
||||||
driver: bridge
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
overlord-data:
|
overlord-data:
|
||||||
overlord-certs:
|
overlord-certs:
|
||||||
|
|||||||
Reference in New Issue
Block a user