-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
executable file
·62 lines (58 loc) · 1.27 KB
/
docker-compose.yaml
File metadata and controls
executable file
·62 lines (58 loc) · 1.27 KB
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
59
60
61
62
version: "3.3"
services:
# db:
# image: postgres:latest
# restart: always
# environment:
# - POSTGRES_USER= accounting_user
# - POSTGRES_PASSWORD= accounting_password@
# - POSTGRES_DB= accounting_db
# volumes:
# - db_data:/var/lib/postgresql/data/
# ports:
# - "5432:5432"
#
# redis:
# image: redis:latest
# restart: always
# volumes:
# - redis_data:/data
#
# web:
# build: ./backend/accounting
# restart: always
# command: >
# sh -c "python manage.py migrate &&
# python -m pip install --upgrade pip &&
# python -m pip install -r requirements.txt &&
# python manage.py initial_data --clear &&
# python manage.py runserver 0.0.0.0:8000"
# volumes:
# - ./backend/accounting/:/back
# ports:
# - "8000:8000"
# depends_on:
# - db
# - redis
# - worker
#
# worker:
# build: ./backend/accounting
# restart: always
# command: celery -A accounting worker -l info -B
# volumes:
# - ./backend/accounting/:/back
# depends_on:
# - db
# - redis
react-ui:
build: ./fronend/my-app
ports:
- "3000:3000"
volumes:
- ./fronend/my-app/:/front
# depends_on:
# - web
#volumes:
# db_data:
# redis_data: