-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev-ci.yml
More file actions
71 lines (65 loc) · 1.39 KB
/
docker-compose.dev-ci.yml
File metadata and controls
71 lines (65 loc) · 1.39 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
63
64
65
66
67
68
69
70
71
services:
web:
container_name: skills_web
build:
context: .
dockerfile: ./Dockerfile
restart: always
command: bash ./scripts/startup_dev.sh
env_file:
- .env
environment:
HOST: 0.0.0.0
volumes:
- static-volume:/procollab/apps/static
- .:/procollab
nginx:
container_name: skills_nginx
restart: unless-stopped
build: ./nginx
depends_on:
- web
ports:
- 8001:80
volumes:
- static-volume:/procollab/apps/static
redis:
container_name: skills_redis
restart: unless-stopped
image: redis:latest
expose:
- 6379
volumes:
- redis-data:/data
depends_on:
- web
celerys:
restart: always
build:
context: .
dockerfile: ./Dockerfile
env_file:
- .env
command: bash ./scripts/celery.sh
#command: ls -la
depends_on:
- redis
- web
volumes:
- .:/procollab
# db: # не удалять нужно для тестов celery
# container_name: skills_db
# image: postgres
# environment:
# POSTGRES_DB: postgres
# POSTGRES_USER: postgres
# POSTGRES_PASSWORD: postgres
# ports:
# - 5432:5432
# restart: always
# volumes:
# - postgres_data:/var/lib/postgresql/data/
volumes:
redis-data:
static-volume:
#postgres_data: # не удалять нужно для тестов celery