mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-24 14:22:33 +02:00
15 lines
530 B
YAML
15 lines
530 B
YAML
services:
|
|
godoxy-agent:
|
|
image: ghcr.io/yusing/godoxy-agent:latest
|
|
container_name: godoxy-agent
|
|
restart: always
|
|
network_mode: host # do not change this
|
|
environment:
|
|
AGENT_NAME: # defaults to hostname
|
|
AGENT_PORT: # defaults to 8890
|
|
# comma separated list of allowed main server IPs or CIDRs
|
|
# to register from this agent
|
|
REGISTRATION_ALLOWED_HOSTS:
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- ./certs:/app/certs # store Agent CA cert and Agent SSL cert
|