-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
51 lines (46 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
---
version: '3.9'
services:
postgres:
container_name: postgres
profiles: [services]
image: timescale/timescaledb:latest-pg14
ports:
- 5433:5432
environment:
POSTGRES_USER: maybe
POSTGRES_PASSWORD: maybe
POSTGRES_DB: maybe_local
volumes:
- postgres_data:/var/lib/postgresql/data
redis:
container_name: redis
profiles: [services]
image: redis:6.2-alpine
ports:
- 6379:6379
command: 'redis-server --bind 0.0.0.0'
ngrok:
env_file: .env
image: shkoliar/ngrok:latest
profiles: [ngrok]
container_name: ngrok
ports:
- 4551:4551
environment:
- DOMAIN=host.docker.internal
- PORT=3333
- AUTH_TOKEN=${NGROK_AUTH_TOKEN}
- DEBUG=true
stripe:
container_name: stripe
image: stripe/stripe-cli:latest
profiles: [stripe]
command: listen --forward-to host.docker.internal:3333/v1/stripe/webhook --log-level warn
extra_hosts:
- 'host.docker.internal:host-gateway'
environment:
- STRIPE_API_KEY=${STRIPE_SECRET_KEY}
tty: true
volumes:
postgres_data: