-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
25 lines (22 loc) · 1.11 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
version: "3.3"
##############################################################################
# ePAS Service #
# Configurazione per l'avvio di ePAS Service collegandosi ad un database di #
# ePAS esistente #
##############################################################################
services:
epas-service:
image: ghcr.io/consiglionazionaledellericerche/epas-service:latest
container_name: epas-service
ports:
- 8080:8080
environment:
- spring.profiles.active=prod
- spring.datasource.url=jdbc:postgresql://${DB_HOST}:${DB_PORT:-5432}/${DB_NAME}
- spring.datasource.username=${DB_USER}
- spring.datasource.password=${DB_PASS}
- spring.security.oauth2.resourceserver.jwt.issuer-uri=${OAUTH2_JWT_ISSUER_URI}
- epas.security.oauth2.jwtfield=${OAUTH2_JWT_FIELD}
- epas.security.oauth2.userAuthIdentifier=${OAUTH2_USER_AUTH_IDENTIFIER}
#- epas.cors.allowedOrigins[0]=http://localhost:300
#- epas.cors.allowedOrigins[1]=https://*.cnr.it