forked from NeRF-or-Nothing/vidtonerf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
92 lines (82 loc) · 2.02 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
version: '3.7'
services:
mongodb:
image: mongo:latest
container_name: mongodb
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGO_INITDB_ROOT_USERNAME}
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_INITDB_ROOT_PASSWORD}
ports:
- 27017:27017
volumes:
- mongodb_data_container:/data/db
networks:
- backend
rabbitmq:
container_name: rabbitmq
image: rabbitmq:3.8-management-alpine
environment:
RABBITMQ_DEFAULT_USER: ${RABBITMQ_DEFAULT_USER}
RABBITMQ_DEFAULT_PASS: ${RABBITMQ_DEFAULT_PASS}
ports:
# AMQP protocol port
- '5672:5672'
# HTTP management UI
- '15672:15672'
networks:
- backend
web-server:
build:
context: .
dockerfile: ./web-server/Dockerfile
image: web-server-img
container_name: web-server
depends_on:
- rabbitmq
- mongodb
environment:
APP_PORT: 5000
volumes:
# Host directory : Container directory
- ./web-server:/web-server
ports:
- "5000:5000"
networks:
- backend
command: python3 main.py --configip configs/docker_in.json
sfm-worker:
build:
context: .
dockerfile: ./colmap/Dockerfile
image: sfm-worker-img
container_name: sfm-worker
depends_on:
- rabbitmq
volumes:
- ./colmap:/colmap
ports:
- 5100:5100
networks:
- backend
command: python3.10 main.py --config=configs/default.txt
gaussian-splatting:
build:
context: .
dockerfile: ./gaussian-splatting/Dockerfile
image: gaussian-splatting-img
container_name: gaussian-splatting
depends_on:
- rabbitmq
volumes:
- ./gaussian-splatting:/gaussian-splatting
ports:
- 5200:5200
networks:
- backend
#command:
networks:
backend:
name: backend-network
driver: bridge
volumes:
mongodb_data_container: