forked from kuzznya/junction-avp-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
41 lines (37 loc) · 838 Bytes
/
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
version: '3.8'
services:
backend:
image: registry.gitlab.com/kuzznya/junction-avp-backend:latest
environment:
PORT: 8080
DB_URL: jdbc:postgresql://postgres:5432/postgres
DB_USERNAME: admin
DB_PASSWORD: password
ADMIN_USERNAME: admin
ADMIN_PASSWORD: password
SEC_SECRET: 12345678
ports:
- '80:8080'
restart: always
depends_on:
- postgres
frontend:
image: registry.gitlab.com/kuzznya/junction-avp-frontend:latest
environment:
PORT: 8080
ports:
- '81:8080'
restart: always
postgres:
image: postgres
environment:
POSTGRES_DB: postgres
POSTGRES_USER: admin
POSTGRES_PASSWORD: password
ports:
- '5432'
volumes:
- db-data:/var/lib/postgresql/data
restart: always
volumes:
db-data: