Actualiser Tugtainer/docker-compose.yml
This commit is contained in:
@@ -2,9 +2,6 @@ networks:
|
|||||||
tugtainer_agent:
|
tugtainer_agent:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
services:
|
services:
|
||||||
# Socket proxy is used by default,
|
|
||||||
# but you can mount docker socket directly
|
|
||||||
# and remove this service and DOCKER_HOST variable
|
|
||||||
socket-proxy:
|
socket-proxy:
|
||||||
image: lscr.io/linuxserver/socket-proxy:latest
|
image: lscr.io/linuxserver/socket-proxy:latest
|
||||||
container_name: socket-proxy
|
container_name: socket-proxy
|
||||||
@@ -34,14 +31,9 @@ services:
|
|||||||
- socket-proxy
|
- socket-proxy
|
||||||
container_name: tugtainer-agent
|
container_name: tugtainer-agent
|
||||||
image: quenary/tugtainer-agent:latest
|
image: quenary/tugtainer-agent:latest
|
||||||
# volumes:
|
|
||||||
# You can uncomment this to mount socket directly,
|
|
||||||
# and remove socket-proxy service and DOCKER_HOST variable
|
|
||||||
# - /var/run/docker.sock:/var/run/docker.sock:ro
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
# The list of available variables is in env.example
|
AGENT_SECRET: ${AGENT_SECRET}
|
||||||
AGENT_SECRET: Rackham59
|
|
||||||
DOCKER_HOST: tcp://socket-proxy:2375
|
DOCKER_HOST: tcp://socket-proxy:2375
|
||||||
read_only: true
|
read_only: true
|
||||||
tmpfs:
|
tmpfs:
|
||||||
|
|||||||
Reference in New Issue
Block a user