2022-11-18 16:51:24 +00:00
|
|
|
services:
|
|
|
|
backend:
|
|
|
|
build: .
|
|
|
|
ports:
|
|
|
|
- "8001:8001"
|
|
|
|
volumes:
|
|
|
|
- .:/app
|
2022-12-17 18:10:58 +00:00
|
|
|
environment:
|
|
|
|
- S3_ENDPOINT=minio:9000
|
|
|
|
- S3_IS_SECURE=false
|
|
|
|
- S3_ACCESS_KEY=REPLACE_ME
|
|
|
|
- S3_SECRET_KEY=REPLACE_ME
|
2022-11-18 16:51:24 +00:00
|
|
|
depends_on:
|
|
|
|
- mongo
|
|
|
|
|
|
|
|
mongo:
|
|
|
|
image: mongo
|
|
|
|
restart: always
|
|
|
|
expose:
|
|
|
|
- "27017:27017"
|
|
|
|
environment:
|
|
|
|
MONGO_INITDB_ROOT_USERNAME: root
|
|
|
|
MONGO_INITDB_ROOT_PASSWORD: catboys
|
|
|
|
|
|
|
|
command: --quiet
|
|
|
|
|
|
|
|
mongo-express:
|
|
|
|
image: mongo-express
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 8081:8081
|
|
|
|
environment:
|
|
|
|
ME_CONFIG_MONGODB_ADMINUSERNAME: root
|
|
|
|
ME_CONFIG_MONGODB_ADMINPASSWORD: catboys
|
|
|
|
ME_CONFIG_MONGODB_URL: mongodb://root:catboys@mongo:27017/
|
|
|
|
depends_on:
|
|
|
|
- mongo
|
2022-12-17 18:10:58 +00:00
|
|
|
|
|
|
|
minio:
|
|
|
|
image: minio/minio
|
|
|
|
ports:
|
|
|
|
- 9000:9000
|
|
|
|
- 9001:9001
|
|
|
|
volumes:
|
|
|
|
- /data
|
|
|
|
command: "server /data --console-address ':9001'"
|