chore: new docker-compose.yml example

This commit is contained in:
dec0dOS 2022-09-05 14:43:30 +01:00
parent aaaf01aa51
commit 4715b557f6
2 changed files with 2 additions and 5 deletions

View file

@ -121,7 +121,7 @@ or
curl -L -O https://raw.githubusercontent.com/dec0dOS/zero-ui/main/docker-compose.yml curl -L -O https://raw.githubusercontent.com/dec0dOS/zero-ui/main/docker-compose.yml
``` ```
3. Replace `YOURDOMAIN.com` with your domain name in `docker-compose.yml` 3. Replace `YOURDOMAIN.com` with your domain name and set admin credentials (`ZU_DEFAULT_PASSWORD`) in `docker-compose.yml`
4. Pull the image 4. Pull the image
```sh ```sh

View file

@ -41,10 +41,7 @@ services:
- zero-ui - zero-ui
command: caddy reverse-proxy --from YOURDOMAIN.com --to zero-ui:4000 command: caddy reverse-proxy --from YOURDOMAIN.com --to zero-ui:4000
volumes: volumes:
- caddy_data:/data - ./caddy:/data
ports: ports:
- "80:80" - "80:80"
- "443:443" - "443:443"
volumes:
caddy_data: