-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
52 lines (51 loc) · 1.26 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
version: "3"
services:
# Un-comment if you want use below postgres.
#postgres:
# image: postgres
# container_name: postgres
# ports:
# - "5432:5432"
# networks:
# - db-webhooks
# environment:
# - POSTGRES_PASSWORD=postgres
backend:
#build: "./backend"
image: inqueryio/backend:latest
platform: linux/amd64
# Un-comment if using Apple silicon
#platform: linux/arm64
container_name: backend
stop_signal: SIGTERM
stop_grace_period: 30s
restart: on-failure
ports:
- "3003:3003"
networks:
- db-webhooks
volumes:
- db-webhooks:/tmp/badger
environment:
- DISK_DB_ENCRYPTION_KEY=${DISK_DB_ENCRYPTION_KEY}
- DISK_DB_LOCATION=/tmp/badger
- HTTP_API_SERVER_PORT=3003
- HTTP_API_SERVER_CORS_ALLOW_ORIGINS=${HTTP_API_SERVER_CORS_ALLOW_ORIGINS}
- HTTP_API_SERVER_AUTH_TOKEN=${HTTP_API_SERVER_AUTH_TOKEN}
frontend:
#build: "./frontend"
image: inqueryio/frontend:latest
platform: linux/amd64
# Un-comment if using Apple silicon
#platform: linux/arm64
container_name: frontend
ports:
- "3000:80"
networks:
- db-webhooks
volumes:
- ${PWD}/frontend.env:/usr/share/nginx/html/.env
volumes:
db-webhooks:
networks:
db-webhooks: