docker.compose.yml
· 421 B · YAML
原始文件
services:
dozzle:
container_name: dozzle
image: amir20/dozzle:latest
ports:
- 9999:8080
environment:
- DOZZLE_AUTH_PROVIDER=simple
- DOZZLE_HOSTNAME=<tuo_hostname>
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./dozzle-data:/data
networks:
- npm-internal
restart: unless-stopped
networks:
npm-internal:
name: npm-internal
external: true
1 | services: |
2 | dozzle: |
3 | container_name: dozzle |
4 | image: amir20/dozzle:latest |
5 | ports: |
6 | - 9999:8080 |
7 | environment: |
8 | - DOZZLE_AUTH_PROVIDER=simple |
9 | - DOZZLE_HOSTNAME=<tuo_hostname> |
10 | volumes: |
11 | - /var/run/docker.sock:/var/run/docker.sock |
12 | - ./dozzle-data:/data |
13 | networks: |
14 | - npm-internal |
15 | restart: unless-stopped |
16 | networks: |
17 | npm-internal: |
18 | name: npm-internal |
19 | external: true |
1 | # make a new file called “users.yml” inside the “dozzle-data” directory |
2 | |
3 | users: |
4 | admin: #username |
5 | name: "Emanuele" #full name |
6 | password: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx" #Bcrypt Hash |
7 | email: "zzzzzzzzzzz" #email |