forked from lmtsufape/coppabacs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
46 lines (43 loc) · 992 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
42
43
44
45
46
version: '3.9'
services:
# backend:
# image: coppabacs-backend
# build: backend/.
# ports:
# - "8081:8081"
# expose:
# - "8081"
# command: mvn spring-boot:run
# networks:
# - coppabacs-networks
# environment:
# SPRING_DATASOURCE_URL: jdbc:postgresql://backend-db:5432/coppabacs
# SPRING_DATASOURCE_USERNAME: postgres
# SPRING_DATASOURCE_PASSWORD: password
# depends_on:
# - backend-db
# - keycloak
# backend-db:
# image: postgres:16.0
# restart: always
# environment:
# POSTGRES_DB: coppabacs
# POSTGRES_USER: postgres
# POSTGRES_PASSWORD: password
# TZ: America/Sao_Paulo
# ports:
# - "5436:5432"
# expose:
# - "5432"
# networks:
# - coppabacs-networks
# volumes:
# - pg-data:/var/lib/postgresql/data
volumes:
pg-data:
driver: local
keycloak-pg-data:
driver: local
networks:
coppabacs-networks:
driver: bridge