-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdocker-compose.yml
48 lines (43 loc) · 981 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
45
46
47
48
version: '3'
services:
sheep-server:
container_name: sheep_sheep-server_1
build:
context: .
dockerfile: backend/Dockerfile
command: applications/run-sheep-server
ports:
- "34568:34568"
networks:
- sheep_nw
sheep-frontend:
container_name: sheep_sheep-frontend_1
build:
context: frontend
dockerfile: Dockerfile.frontend
ports:
- "5000:5000"
environment:
- FLASK_CONFIGURATION=default
- SERVER_URL_BASE=http://sheep_sheep-server_1:34568/SheepServer
depends_on:
- sheep-server
networks:
- sheep_nw
sheep-notebook:
container_name: sheep_sheep-notebook_1
build:
context: frontend
dockerfile: Dockerfile.notebook
depends_on:
- sheep-server
ports:
- "8888:8888"
environment:
- SHEEP_HOME=/frontend
- SERVER_URL_BASE=http://sheep_sheep-server_1:34568/SheepServer
networks:
- sheep_nw
networks:
sheep_nw:
driver: bridge