Refactor docker-compose.yml to add container_name for dozzle service

This commit is contained in:
2024-05-28 00:39:26 +08:00
parent ed57ba4dc4
commit cfd4e9150e
+3 -2
View File
@@ -138,11 +138,12 @@ services:
dozzle: dozzle:
image: amir20/dozzle:latest image: amir20/dozzle:latest
container_name: dozzle
restart: always restart: always
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro - /var/run/docker.sock:/var/run/docker.sock:ro
ports: expose:
- 8080:8080 - 8080
networks: networks:
- net - net
# labels: # labels: