Added Dozzle
This commit is contained in:
29
dozzle/compose.yml
Normal file
29
dozzle/compose.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
## Note: This compose file does not work directly with docker compose up, but it does work fine when used as a base for Portainer stack deploy.
|
||||
## Reason: Portainer supports swarm mode deploy even for single node setups, while docker compose up does not.
|
||||
## To use this file with docker compose up, uncomment the network section and the network_mode line, and remove the deploy section.
|
||||
|
||||
# Service Name: Dozzle
|
||||
# Description : Docker log viewer
|
||||
# Homepage : https://dozzle.dev/
|
||||
|
||||
services:
|
||||
dozzle:
|
||||
image: amir20/dozzle:latest
|
||||
environment:
|
||||
- DOZZLE_MODE=swarm
|
||||
- DOZZLE_HOSTNAME=dozzle.home.ramberg.net
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
ports:
|
||||
- 8280:8080
|
||||
# network_mode: "host"
|
||||
# networks:
|
||||
# - dozzle
|
||||
deploy:
|
||||
mode: global
|
||||
restart: unless-stopped
|
||||
|
||||
#networks:
|
||||
# dozzle:
|
||||
# driver: overlay
|
||||
# attachable: true
|
||||
@@ -6,6 +6,7 @@ services:
|
||||
- 8000:8000
|
||||
- 9443:9443
|
||||
container_name: portainer
|
||||
command: --no-analytics
|
||||
restart: always
|
||||
#environment:
|
||||
#- VIRTUAL_HOST=portainer.home.ramberg.net
|
||||
|
||||
Reference in New Issue
Block a user