-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (51 loc) · 1.09 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
# docker-compose.yml
version: '3'
services:
kong:
build:
context: ./kong
restart: on-failure
environment:
KONG_DECLARATIVE_CONFIG: /var/lib/kong/kong.yml
ports:
- "8000:8000/tcp"
- "8443:8443/tcp"
rest:
image: postgrest/postgrest
restart: always
environment:
PGRST_DB_URI: postgres://postgres:postgres@db:5432/postgres
PGRST_DB_SCHEMA: public
PGRST_DB_ANON_ROLE: postgres
ports:
- "3000:3000"
depends_on:
- db
realtime:
image: supabase/realtime
restart: on-failure
environment:
DB_HOST: db
DB_NAME: postgres
DB_USER: postgres
DB_PASSWORD: postgres
DB_PORT: 5432
PORT: 4000
HOSTNAME: localhost
APP_PORT: 4000
APP_HOSTNAME: localhost
SECRET_KEY_BASE: SOMETHING_SUPER_SECRET
ports:
- "4000:4000"
depends_on:
- db
db:
build: ./postgres
ports:
- "6543:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_HOST: db
POSTGRES_DB: postgres
POSTGRES_PORT: 5432