-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (56 loc) · 1.11 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
version: '3.8'
services:
appserver:
image: appserver
container_name: appserver
build:
context: ./backend
dockerfile: Dockerfile
ports:
- 8000:80
networks:
- mydockernet
environment:
- DEBUG=1
- PORT=8002
logging:
driver: "json-file"
options:
max-size: "10m"
celery:
image: celery
container_name: celery
build:
context: ./backend
dockerfile: Dockerfile
networks:
- mydockernet
# volumes:
# - .:/app
# env_file:
# - .env
command: ["celery", "-A", "tasks.app", "worker", "--loglevel=INFO"]
logging:
driver: "json-file"
options:
max-size: "10m"
appclient:
image: appclient
container_name: appclient
build:
context: ./frontend
# args:
# REACT_APP_API_URL: http://{API_SERVER_IP}:8002
# REACT_APP_ENV: production
dockerfile: Dockerfile
networks:
- mydockernet
environment:
- REACT_APP_ENV=production
ports:
- 3000:80
depends_on:
- appserver
networks:
mydockernet:
driver: bridge