CustomIWMServer/docker-compose.yml

47 lines
961 B
YAML

services:
backend:
build: .
# restart: on-failure
ports:
- "8001:8001"
volumes:
- .:/app
environment:
- S3_ENDPOINT=minio:9000
- S3_IS_SECURE=false
- S3_ACCESS_KEY=REPLACE_ME
- S3_SECRET_KEY=REPLACE_ME
depends_on:
- mongo
mongo:
image: mongo
# restart: on-failure
expose:
- "27017:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: catboys
command: --quiet
mongo-express:
image: mongo-express
# restart: on-failure
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
minio:
image: minio/minio
ports:
- 9000:9000
- 9001:9001
volumes:
- /data
command: "server /data --console-address ':9001'"