forked from Brain-up/brn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (48 loc) · 1.12 KB
/
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
42
43
44
45
46
47
48
version: '3.8'
services:
db_brn:
container_name: db_brn
image: postgres:13
restart: always
ports:
- 5432:5432
environment:
POSTGRES_DB: brn
POSTGRES_USER: admin
POSTGRES_PASSWORD: admin
brn:
container_name: brn_be
command: java -jar epam-brn.jar
build:
context: .
dockerfile: Dockerfile
ports:
- 8081:8081
environment:
GOOGLE_APPLICATION_CREDENTIALS: /run/secrets/firebase_config_json
DB_HOST: db_brn
DB_PORT: 5432
POSTGRES_DB: brn
POSTGRES_USER: admin
POSTGRES_PASSWORD: admin
SPRING_PROFILE: dev
secrets:
- firebase_config_json
depends_on:
- db_brn
brn_fe:
container_name: brn_fe
build:
context: .
args:
FIREBASE_PROJECT_ID: brainup-spb-dev-bb6d0
FIREBASE_AUTH_DOMAIN: brainup-spb-dev-bb6d0.firebaseapp.com
FIREBASE_API_KEY: AIzaSyB03Q4ZCxdqaKuN7cJqCQGhkibYD4Q-qsc
dockerfile: Dockerfile_frontend
ports:
- 80:80
depends_on:
- brn
secrets:
firebase_config_json:
file: ./src/main/resources/firebase-brainupspb-dev.json