update readme to match the actual docker files
This commit is contained in:
@@ -29,7 +29,7 @@ If you just want it running fast, use this.
|
|||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
overlord-server:
|
overlord-server:
|
||||||
image: ghcr.io/vxaboveground/overlord:latest
|
image: ${DOCKER_IMAGE:-ghcr.io/vxaboveground/overlord:latest}
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
@@ -38,36 +38,38 @@ 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:
|
network_mode: host
|
||||||
- "5173:5173"
|
|
||||||
environment:
|
environment:
|
||||||
- OVERLORD_USER=admin
|
PORT: ${PORT:-5173}
|
||||||
- OVERLORD_PASS=
|
HOST: ${HOST:-0.0.0.0}
|
||||||
- JWT_SECRET=
|
OVERLORD_USER: ${OVERLORD_USER:-admin}
|
||||||
- OVERLORD_AGENT_TOKEN=
|
OVERLORD_PASS: ${OVERLORD_PASS:-}
|
||||||
- PORT=5173
|
JWT_SECRET: ${JWT_SECRET:-}
|
||||||
- HOST=0.0.0.0
|
OVERLORD_AGENT_TOKEN: ${OVERLORD_AGENT_TOKEN:-}
|
||||||
- OVERLORD_TLS_CERT=/app/certs/server.crt
|
NODE_ENV: ${NODE_ENV:-production}
|
||||||
- OVERLORD_TLS_KEY=/app/certs/server.key
|
OVERLORD_TLS_CERT: ${OVERLORD_TLS_CERT:-/app/certs/server.crt}
|
||||||
- OVERLORD_TLS_CA=
|
OVERLORD_TLS_KEY: ${OVERLORD_TLS_KEY:-/app/certs/server.key}
|
||||||
- OVERLORD_TLS_OFFLOAD=false
|
OVERLORD_TLS_CA: ${OVERLORD_TLS_CA:-}
|
||||||
- OVERLORD_AUTH_COOKIE_SECURE=auto
|
OVERLORD_TLS_OFFLOAD: ${OVERLORD_TLS_OFFLOAD:-false}
|
||||||
- OVERLORD_TLS_CERTBOT_ENABLED=false
|
OVERLORD_AUTH_COOKIE_SECURE: ${OVERLORD_AUTH_COOKIE_SECURE:-auto}
|
||||||
- OVERLORD_TLS_CERTBOT_LIVE_PATH=/etc/letsencrypt/live
|
OVERLORD_TLS_CERTBOT_ENABLED: ${OVERLORD_TLS_CERTBOT_ENABLED:-false}
|
||||||
- OVERLORD_TLS_CERTBOT_DOMAIN=
|
OVERLORD_TLS_CERTBOT_LIVE_PATH: ${OVERLORD_TLS_CERTBOT_LIVE_PATH:-/etc/letsencrypt/live}
|
||||||
- OVERLORD_TLS_CERTBOT_CERT_FILE=fullchain.pem
|
OVERLORD_TLS_CERTBOT_DOMAIN: ${OVERLORD_TLS_CERTBOT_DOMAIN:-}
|
||||||
- OVERLORD_TLS_CERTBOT_KEY_FILE=privkey.pem
|
OVERLORD_TLS_CERTBOT_CERT_FILE: ${OVERLORD_TLS_CERTBOT_CERT_FILE:-fullchain.pem}
|
||||||
- OVERLORD_TLS_CERTBOT_CA_FILE=chain.pem
|
OVERLORD_TLS_CERTBOT_KEY_FILE: ${OVERLORD_TLS_CERTBOT_KEY_FILE:-privkey.pem}
|
||||||
- OVERLORD_CLIENT_BUILD_CACHE_DIR=/app/client-build-cache
|
OVERLORD_TLS_CERTBOT_CA_FILE: ${OVERLORD_TLS_CERTBOT_CA_FILE:-chain.pem}
|
||||||
- OVERLORD_FILE_UPLOAD_INTENT_TTL_MS=1800000
|
OVERLORD_CLIENT_BUILD_CACHE_DIR: ${OVERLORD_CLIENT_BUILD_CACHE_DIR:-/app/client-build-cache}
|
||||||
- OVERLORD_FILE_UPLOAD_PULL_TTL_MS=1800000
|
OVERLORD_FILE_UPLOAD_INTENT_TTL_MS: ${OVERLORD_FILE_UPLOAD_INTENT_TTL_MS:-1800000}
|
||||||
|
OVERLORD_FILE_UPLOAD_PULL_TTL_MS: ${OVERLORD_FILE_UPLOAD_PULL_TTL_MS:-1800000}
|
||||||
volumes:
|
volumes:
|
||||||
- overlord-data:/app/data
|
- overlord-data:/app/data
|
||||||
- overlord-certs:/app/certs
|
- overlord-certs:/app/certs
|
||||||
- overlord-client-build-cache:/app/client-build-cache
|
- overlord-client-build-cache:/app/client-build-cache
|
||||||
|
- overlord-plugins:/app/plugins
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
init: true
|
||||||
- overlord-network
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
healthcheck:
|
healthcheck:
|
||||||
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"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
@@ -75,14 +77,11 @@ 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:
|
||||||
overlord-client-build-cache:
|
overlord-client-build-cache:
|
||||||
|
overlord-plugins:
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Start it:
|
2. Start it:
|
||||||
|
|||||||
Reference in New Issue
Block a user