Skip to content

Commit e7ecb03

Browse files
committed
some fixes
1 parent debab2a commit e7ecb03

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

docs/self-hosting/docker.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ docker compose -f docker-compose.webapp.yml -f docker-compose.worker.yml up -d
137137
And optionally add traefik as a reverse proxy:
138138

139139
```bash
140-
docker compose -f docker-compose.webapp.yml -f docker-compose.worker.yml up -f docker-compose.traefik.yml up -d
140+
docker compose -f docker-compose.webapp.yml -f docker-compose.worker.yml -f docker-compose.traefik.yml up -d
141141
```
142142

143143
## Version locking

hosting/docker/docker-compose.webapp.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,13 @@ services:
143143
REGISTRY_AUTH: htpasswd
144144
REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm
145145
REGISTRY_AUTH_HTPASSWD_PATH: /auth/htpasswd
146-
healthcheck:
147-
test: ["CMD", "wget", "--spider", "-q", "http://localhost:5000/v2/"]
148-
interval: 10s
149-
timeout: 5s
150-
retries: 5
151-
start_period: 10s
146+
# This won't work with auth enabled
147+
# healthcheck:
148+
# test: ["CMD", "wget", "--spider", "-q", "http://localhost:5000/v2/"]
149+
# interval: 10s
150+
# timeout: 5s
151+
# retries: 5
152+
# start_period: 10s
152153

153154
minio:
154155
image: minio/minio:${MINIO_IMAGE_TAG:-latest}
@@ -161,8 +162,8 @@ services:
161162
volumes:
162163
- minio:/data
163164
environment:
164-
MINIO_ROOT_USER: admin
165-
MINIO_ROOT_PASSWORD: very-safe-password
165+
MINIO_ROOT_USER: ${MINIO_ROOT_USER:-admin}
166+
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD:-very-safe-password}
166167
command: server --console-address ":9001" /data
167168
healthcheck:
168169
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]

0 commit comments

Comments
 (0)