mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-28 23:52:34 +02:00
15 lines
416 B
YAML
15 lines
416 B
YAML
services:
|
|
agent:
|
|
image: "{{.Image}}"
|
|
container_name: godoxy-agent
|
|
restart: always
|
|
network_mode: host # do not change this
|
|
environment:
|
|
AGENT_NAME: "{{.Name}}"
|
|
AGENT_PORT: "{{.Port}}"
|
|
AGENT_CA_CERT: "{{.CACert}}"
|
|
AGENT_SSL_CERT: "{{.SSLCert}}"
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- ./compose.yml:/app/compose.yml
|
|
- ./data:/app/data
|