-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
57 lines (53 loc) · 1.18 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
services:
postgres_dev:
image: postgres:16.1
restart: "no"
volumes:
- twp_dev_postgresql:/var/lib/postgresql/data
environment:
- POSTGRES_DB=${POSTGRES_NAME}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
env_file:
- .env
ports:
- ${POSTGRES_PORT}:5432
cronjobs_dev:
restart: "no"
build:
target: build
context: ./
ports:
- 8052:8050
command: /build/scripts/init_cronjobs.sh
environment:
- POSTGRES_HOST=postgres_dev
env_file:
- .env
web_dev:
depends_on:
- postgres_dev
restart: "no"
build:
target: build
context: ./
ports:
- 7998:80
- 8053:8050
env_file:
- .env
environment:
- DEBUG=false
- SECRET_KEY=askldjasd0987123987
- SUB_DOMAIN=web
- CSRF_TRUSTED_ORIGIN=http://localhost:7998
- POSTGRES_HOST=postgres_dev
stripe_cli:
image: stripe/stripe-cli:latest
restart: "no"
command: listen --forward-to http://localhost:8000/api/stripe-webhook/
environment:
- STRIPE_API_KEY=${STRIPE_SECRET_KEY}
network_mode: "host"
volumes:
twp_dev_postgresql: