-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
59 lines (54 loc) · 1.27 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
59
services:
app:
build: .
stop_signal: SIGINT
volumes:
- .:/usr/src/app
depends_on:
- db
- redis
- mock-sso
ports:
- 8001:8001
environment:
ALLOW_TEST_FIXTURE_SETUP: allow
DJANGO_SETTINGS_MODULE: app.settings.e2etest
DJANGO_SUPERUSER_USERNAME: testuser
DJANGO_SUPERUSER_EMAIL: [email protected]
DJANGO_SUPERUSER_PASSWORD: testpass
FEATURE_ENFORCE_CONSENT_SERVICE: 0
entrypoint: dockerize -wait tcp://db:5432 -wait tcp://redis:6379 -wait tcp://mock-sso:8080 -timeout 5m
command: ./start.sh
celery:
build: .
volumes:
- .:/usr/src/app
depends_on:
- db
- redis
entrypoint: dockerize -wait tcp://db:5432 -wait tcp://redis:6379 -timeout 5m
command: celery -A app worker -l info -Q celery -B
db:
image: postgres:16
environment:
POSTGRES_DB: postgres
POSTGRES_PASSWORD: password
ports:
- 5432
redis:
image: redis:7.2
mock-sso:
image: ukti/mock-sso
ports:
- 8080:8080
env_file: ./app/settings/.env
cypress:
image: cypress/included:11.2.0
working_dir: /e2e
volumes:
- .:/e2e
depends_on:
- app
environment:
CYPRESS_BASE_URL: http://app:8001
entrypoint: cypress