steedos-platform/docker-compose.yml

40 lines
854 B
YAML
Raw Normal View History

2023-03-15 07:18:52 +00:00
version: "3.9"
2021-07-08 08:44:10 +00:00
services:
2023-03-15 07:18:52 +00:00
vscode:
2023-03-15 09:17:52 +00:00
image: steedos/vscode-server
2021-07-08 08:44:10 +00:00
ports:
2023-03-15 09:17:52 +00:00
- "5555:3000"
2023-03-15 07:18:52 +00:00
- "5100:5100"
environment:
2023-03-15 07:18:52 +00:00
- PORT=5100
- ROOT_URL=http://127.0.0.1:5100
- MONGO_URL=mongodb://mongodb:27017/steedos
- MONGO_OPLOG_URL=mongodb://mongodb:27017/local
- TRANSPORTER=redis://redis:6379/1
- CACHER=redis://redis:6379
volumes:
- '.:/home/workspace/steedos-platform'
redis:
2023-03-15 07:18:52 +00:00
image: redis:6.2
ports:
2023-03-15 07:18:52 +00:00
- "6379:6379"
mongodb:
image: mongo:4.4
2021-07-08 08:44:10 +00:00
ports:
2023-03-15 07:18:52 +00:00
- 27017:27017
command: --replSet steedos
healthcheck:
test: echo 'rs.initiate(); db.runCommand("ping").ok' | mongo --quiet | grep 1
interval: 10s
timeout: 10s
retries: 5
volumes:
- 'steedos-mongo-data:/data/db'
2021-07-08 08:44:10 +00:00
2023-03-15 07:18:52 +00:00
volumes:
steedos-mongo-data:
driver: local