-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
43 lines (42 loc) · 1.11 KB
/
docker-compose.yaml
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
version: '3.8'
services:
dashboard:
image: thisisnotadrilldash:latest
build:
context: .
dockerfile: packages/dashboard/docker-compose/Dockerfile
args:
VITE_CLERK_PUBLISHABLE_KEY: ${VITE_CLERK_PUBLISHABLE_KEY}
VITE_API_TARGET: ${VITE_API_TARGET}
ports:
- "80:80"
env_file:
- ./packages/dashboard/.env
environment:
- VITE_CLERK_PUBLISHABLE_KEY=${VITE_CLERK_PUBLISHABLE_KEY}
- VITE_API_TARGET=http://api:8080
depends_on:
- api
# These are just for debugging if container problems arise
# stdin_open: true
# tty: true
# command: ["/bin/sh"]
api:
image: thisisnotadrillapi:latest
build:
context: .
dockerfile: packages/api/docker-compose/Dockerfile
ports:
- "8080:8080"
env_file:
- ./packages/api/.env
environment:
- NODE_ENV=development
- DASHBOARD_HOST=localhost
- API_HOST=localhost
- INBOUND_PORT=80
- PROTOCOL=http
- CLERK_JWT_ISSUER=${CLERK_JWT_ISSUER}
extra_hosts:
# Access to local postgres
- "host.docker.internal:172.17.0.1"