Tweak docker(compose) files (can't test them yet) and add a little backend documentation

This commit is contained in:
James Wilson
2021-07-05 10:26:32 +01:00
parent ea98b15def
commit 750aaa06dc
6 changed files with 62 additions and 4 deletions
+15 -2
View File
@@ -11,9 +11,22 @@ services:
- ./packages:/app/packages
ports:
- 3000:80
telemetry-backend:
expose:
- 3000
telemetry-backend-shard:
build:
dockerfile: Dockerfile
dockerfile: shard.Dockerfile
context: ./backend/
environment:
- PORT=8001
command: ['--core', 'http://telemetry-backend-core:8000']
ports:
- 8001:8001
expose:
- 8001
telemetry-backend-core:
build:
dockerfile: telemetry.Dockerfile
context: ./backend/
environment:
- PORT=8000