-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (35 loc) · 898 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (35 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
services:
dockershield:
build: .
image: hypolas/dockershield:latest
container_name: dockershield
ports:
- 2375:2375
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /tmp:/tmp
environment:
# Configuration de base
- LISTEN_SOCKET=unix:///tmp/dockershield.sock
# - LISTEN_ADDR=:2375
- DOCKER_SOCKET=unix:///var/run/docker.sock
- LOG_LEVEL=info
# Protection du proxy (auto-protection)
- PROXY_CONTAINER_NAME=dockershield
- PROXY_NETWORK_NAME=dockershield
# Endpoints autorisés (lecture seule)
- CONTAINERS=1
- IMAGES=1
- NETWORKS=1
- VOLUMES=0
- INFO=0
# Méthodes d'écriture désactivées par défaut
- POST=0
- DELETE=0
- PUT=0
restart: unless-stopped
networks:
- dockershield
networks:
dockershield:
driver: bridge