Skip to content

Commit da40f5f

Browse files
committed
automatically create packets bucket for docker setup
1 parent 4cd1c4e commit da40f5f

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

docs/self-hosting/docker.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,10 @@ You should change these before deploying to production, especially the password.
244244
245245
### Setup
246246
247+
<Note>
248+
The `packets` bucket is created by default. In case this doesn't work, you can create it manually.
249+
</Note>
250+
247251
1. Login to the dashboard: `http://localhost:9001`
248252
249253
2. Create a bucket named `packets`.

hosting/docker/webapp/docker-compose.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ services:
181181
start_period: 10s
182182

183183
minio:
184-
image: minio/minio:${MINIO_IMAGE_TAG:-latest}
184+
image: bitnami/minio:${MINIO_IMAGE_TAG:-latest}
185185
restart: ${RESTART_POLICY:-unless-stopped}
186186
logging: *logging-config
187187
ports:
@@ -190,11 +190,12 @@ services:
190190
networks:
191191
- webapp
192192
volumes:
193-
- minio:/data
193+
- minio:/bitnami/minio/data
194194
environment:
195195
MINIO_ROOT_USER: ${MINIO_ROOT_USER:-admin}
196196
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD:-very-safe-password}
197-
command: server --console-address ":9001" /data
197+
MINIO_DEFAULT_BUCKETS: packets
198+
MINIO_BROWSER: "on"
198199
healthcheck:
199200
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
200201
interval: 5s

0 commit comments

Comments
 (0)