Skip to content

Commit

Permalink
Added docker-compose with s3 for production testing
Browse files Browse the repository at this point in the history
  • Loading branch information
u8sand committed Aug 21, 2020
1 parent 6b27d9a commit 3f0237a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
4 changes: 4 additions & 0 deletions example/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
MINIO_ACCESS_KEY=access
MINIO_SECRET_KEY=secret_key
DATA_DIR=s3://access:secret_key@localhost:9000/storage/example/
STATIC_DIR=static
17 changes: 17 additions & 0 deletions example/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: '3'
services:
minio:
image: minio/minio
entrypoint:
- /bin/sh
command:
- -c
- >
mkdir -p /data/storage;
minio server /data;
exit 0
ports:
- 9000:9000
environment:
MINIO_ACCESS_KEY: ${MINIO_ACCESS_KEY}
MINIO_SECRET_KEY: ${MINIO_SECRET_KEY}

0 comments on commit 3f0237a

Please sign in to comment.