-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (40 loc) · 875 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (40 loc) · 875 Bytes
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
version: "3.9"
networks:
default:
name: vlan_external
driver: bridge
internal:
name: vlan_internal
driver: bridge
ipam:
config:
- subnet: 10.10.10.0/24
services:
frontend:
image: ghcr.io/kangketik-developers/simpenan-frontend:main
ports:
- 3000:3000
networks:
- internal
- default
backend:
image: ghcr.io/kangketik-developers/simpenan-backend:main
volumes:
- ./assets/faces:/code/assets/faces
- ./assets/qrcodes:/code/assets/qrcodes
- ./assets/tf_trained_model:/code/assets/tf_trained_model
- ./uploads:/code/uploads
networks:
- default
- internal
ports:
- "8000:8000"
database:
image: mongo:latest
volumes:
- ./data:/data:delegated
networks:
internal:
ipv4_address: 10.10.10.3
ports:
- "27017:27017"