-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
44 lines (40 loc) · 962 Bytes
/
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
version: '3'
services:
app-server:
build:
context: .
dockerfile: Dockerfile
image: fluentify-app-server
volumes:
- shared-data:/app/shared-data
ports:
- '80:8080'
restart: 'on-failure'
python-server:
build:
context: .
dockerfile: python.dockerfile
image: 'fluentify-ai-server'
ports:
- '8081:8081'
volumes:
- shared-data:/python-app/shared-data
restart: 'on-failure'
depends_on:
- app-server
firebase-emulator:
build:
context: ./firebase-emulator
dockerfile: Dockerfile
image: 'firebase-emulator'
profiles: ["dev"]
ports:
- '9199:9199'
- '9099:9099'
- '9080:9080'
- '4000:4000'
volumes:
- './firebase-emulator:/firebase-emulator'
command: 'firebase emulators:start --project fluentify-test --import /firebase-emulator/seed --export-on-exit /firebase-emulator/seed'
volumes:
shared-data: