forked from monzo/response
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
50 lines (45 loc) · 865 Bytes
/
docker-compose.yaml
File metadata and controls
50 lines (45 loc) · 865 Bytes
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
version: '3'
services:
response:
build:
context: .
dockerfile: Dockerfile.response
image: response
container_name: response
entrypoint: bash
command: /app/startup.sh
ports:
- "8000:8000"
depends_on:
- db
environment:
POSTGRES: "true"
env_file: .env
volumes:
- ./:/app
stdin_open: true
tty: true
cron:
build:
context: .
dockerfile: Dockerfile.cron
image: cron
container_name: cron
depends_on:
- response
tty: true
db:
image: "postgres:11.2"
container_name: postgres
volumes:
- postgres_data:/var/lib/postgresql/data/
ngrok:
image: gtriggiano/ngrok-tunnel
container_name: ngrok
environment:
TARGET_HOST: "response"
TARGET_PORT: 8000
ports:
- "4040:4040"
volumes:
postgres_data: