-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (47 loc) · 1.13 KB
/
docker-compose.yml
File metadata and controls
53 lines (47 loc) · 1.13 KB
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
53
version: "3"
services:
db:
image: postgres
ports:
- "5432:5432"
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
volumes:
- db_data:/var/lib/postgresql/data
# api:
# build:
# context: .
# dockerfile: api.dockerfile
# target: prod
# volumes:
# - .:/app
# - /app/node_modules
# ports:
# - "${SERVER_PORT}:${SERVER_PORT}"
# environment:
# SERVER_PORT: ${SERVER_PORT}
# TZ: 'UTC'
# DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}
# DB_ENDPOINT: ${DB_ENDPOINT}
# POSTGRES_DB: ${POSTGRES_DB}
# POSTGRES_USER: ${POSTGRES_USER}
# POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
# JWT_SECRET: ${JWT_SECRET}
# depends_on:
# - db
# ui:
# build:
# context: .
# dockerfile: ui.dockerfile
# ports:
# - "3005:3005"
# volumes:
# - .:/app
# - /app/node_modules
# environment:
# DOCKER_BUILDKIT: 1
# UI_API_URL: ${UI_API_URL:-}
volumes:
db_data: