-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
51 lines (47 loc) · 1.2 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
version: '3'
services:
politik-bei-uns-frontend-flask:
container_name: politik-bei-uns-frontend-flask
build:
context: .
dockerfile: Dockerfile.flask
ports:
- 5000:5000
volumes:
- .:/app
entrypoint: ["python3", "runserver.py"]
networks:
shared_politik-bei-uns:
aliases:
- frontend-flask
politik-bei-uns-frontend-worker:
container_name: politik-bei-uns-frontend-worker
build:
context: .
dockerfile: Dockerfile.flask
volumes:
- .:/app
entrypoint: ["celery", "-A", "webapp.celery_entry_point", "worker"]
networks:
shared_politik-bei-uns:
aliases:
- frontend-worker
politik-bei-uns-frontend-gulp:
build:
context: .
dockerfile: Dockerfile.gulp
container_name: politik-bei-uns-frontend-gulp
volumes:
- .:/app
- politik_bei_uns_node_modules:/app/node_modules
#entrypoint: ['sleep', '600000']
entrypoint: ["gulp", 'watch']
networks:
shared_politik-bei-uns:
aliases:
- frontend-gulp
networks:
shared_politik-bei-uns:
external: true
volumes:
politik_bei_uns_node_modules: