Add tugtainer app
This commit is contained in:
parent
95475aedf1
commit
974701f42b
1 changed files with 54 additions and 0 deletions
54
10-monitor/docker-compose.monitor.yml
Normal file
54
10-monitor/docker-compose.monitor.yml
Normal file
|
|
@ -0,0 +1,54 @@
|
||||||
|
networks:
|
||||||
|
tugtainer:
|
||||||
|
driver: bridge
|
||||||
|
volumes:
|
||||||
|
tugtainer_data:
|
||||||
|
services:
|
||||||
|
# Socket proxy is used by default,
|
||||||
|
# but you can mount docker socket directly
|
||||||
|
# and remove this service and DOCKER_HOST variable
|
||||||
|
socket-proxy:
|
||||||
|
image: lscr.io/linuxserver/socket-proxy:latest
|
||||||
|
container_name: socket-proxy
|
||||||
|
environment:
|
||||||
|
CONTAINERS: 1
|
||||||
|
EVENTS: 1
|
||||||
|
IMAGES: 1
|
||||||
|
INFO: 1
|
||||||
|
LOG_LEVEL: warning
|
||||||
|
PING: 1
|
||||||
|
NETWORKS: 1
|
||||||
|
POST: 1
|
||||||
|
TZ: Europe/Moscow
|
||||||
|
VERSION: 1
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
restart: unless-stopped
|
||||||
|
read_only: true
|
||||||
|
tmpfs:
|
||||||
|
- /run
|
||||||
|
networks:
|
||||||
|
- tugtainer
|
||||||
|
labels:
|
||||||
|
dev.quenary.tugtainer.protected: True
|
||||||
|
app:
|
||||||
|
depends_on:
|
||||||
|
- socket-proxy
|
||||||
|
container_name: tugtainer
|
||||||
|
image: ghcr.io/quenary/tugtainer:1
|
||||||
|
volumes:
|
||||||
|
- tugtainer_data:/tugtainer
|
||||||
|
# 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
|
||||||
|
environment:
|
||||||
|
# The list of available variables is in env.example
|
||||||
|
DOCKER_HOST: tcp://socket-proxy:2375
|
||||||
|
networks:
|
||||||
|
- tugtainer
|
||||||
|
ports:
|
||||||
|
- '9412:80'
|
||||||
|
labels:
|
||||||
|
dev.quenary.tugtainer.protected: True
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue