forked from CodingPirates/forenings_medlemmer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
56 lines (51 loc) · 1.13 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
version: "3.3"
services:
web:
build: .
command: "${SERVER_COMMAND} 0.0.0.0:${PORT}"
volumes:
- .:/app
ports:
- "${PORT}:${PORT}"
depends_on:
- database
- selenium
networks:
- webnet
environment:
- SECRET_KEY=$SECRET_KEY
- DEBUG=$DEBUG
- BASE_URL=$BASE_URL
- QUICKPAY_API_KEY=$QUICKPAY_API_KEY
- QUICKPAY_PRIVATE_KEY=$QUICKPAY_PRIVATE_KEY
- DATABASE_URL=$DATABASE_URL
- ALLOWED_HOSTS=$ALLOWED_HOSTS
- PAYMENT_ID_PREFIX=$PAYMENT_ID_PREFIX
- CORS_LIST=$CORS_LIST
- FORCE_HTTPS=$FORCE_HTTPS
- EMAIL_URL=$EMAIL_URL
- ADMINS=$ADMINS
- SENTRY_DSN=$SENTRY_DSN
- MODE=$MODE
database:
image: postgres:11.2-alpine
networks:
- webnet
volumes:
- database:/var/lib/postgresql/data/
environment:
- POSTGRES_USER=$POSTGRES_USER
- POSTGRES_PASSWORD=$POSTGRES_PASSWORD
- POSTGRES_DB=$POSTGRES_DB
ports:
- "5432${DB_PORT}"
selenium:
image: selenium/standalone-chrome
networks:
- webnet
ports:
- 4444
volumes:
database:
networks:
webnet: