forked from TBD54566975/developer.tbd.website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
41 lines (37 loc) · 891 Bytes
/
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
version: "3"
services:
app:
build:
context: .
dockerfile: Apps.Dockerfile
target: feedback-server-app
ports:
- "3001:3001"
environment:
DB_CONNECTION: postgresdb
DB_USER: feedback_user
DB_PASSWORD: feedback_pass
DB_PORT: 5432
DB_DATABASE: feedback_widget
SERVER_SECRET: superSecureSecret
SERVER_ALLOWED_ORIGINS: http://localhost:3000
NODE_ENV: production
depends_on:
- postgresdb
postgresdb:
image: postgres:16-alpine
environment:
POSTGRES_USER: feedback_user
POSTGRES_PASSWORD: feedback_pass
POSTGRES_DB: feedback_widget
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
dwn-server:
container_name: dwn-server
image: ghcr.io/tbd54566975/dwn-server:0.6.0
ports:
- "3000:3000"
volumes:
postgres_data: