blob: cef2a2f9d48f8f0aaca7ec35d9ada5e72a1c1e6a (
plain)
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
|
services:
db:
image: postgres:13-alpine
environment:
POSTGRES_PASSWORD: postgres
ports:
- "5432:5432"
volumes:
- dbdata:/var/lib/postgresql/data
frontend:
build:
context: frontend
args:
NEXT_PUBLIC_BACKEND_URL: ${NEXT_PUBLIC_BACKEND_URL}
ports:
- "3000:80"
tty: true
backend:
build:
context: backend
environment:
POSTGRES_CONNECTION_STRING: ${POSTGRES_CONNECTION_STRING}
FRONTEND_URL: ${FRONTEND_URL}
PORT: 4000
ports:
- "4000:4000"
volumes:
dbdata:
|