31 lines
1004 B
YAML
31 lines
1004 B
YAML
version: "3.3"
|
|
services:
|
|
|
|
internship.api:
|
|
image: internship.api:latest
|
|
environment:
|
|
CONNECTIONSTRINGS__INTERNSHIPDATABASE: "Host=db.postgres;Port=5432;Database=postgres;Username=postgres;Password=szwoniu"
|
|
ASPNETCORE_ENVIRONMENT: Development
|
|
ASPNETCORE_URLS: http://+:80
|
|
SECURITYOPTIONS__SECRET: iewaiwie3aig9wi3chieBai9eephai
|
|
SECURITYOPTIONS__EXPIRATION: 1440 # 24h in minutes
|
|
SECURITYOPTIONS__BASEURL: https://logowanie.pg.edu.pl
|
|
SECURITYOPTIONS__TOKENPATH: /oauth2.0/accessToken
|
|
SECURITYOPTIONS__PROFILEPATH: /oauth2.0/profile
|
|
SECURITYOPTIONS__CLIENTID: PraktykiClientId
|
|
SECURITYOPTIONS__REDIRECTURL: https://system-praktyk.stg.kadet.net/user/login/check/pg
|
|
FILLER__USE_DEFAULT_DATA: "true"
|
|
depends_on:
|
|
- db.postgres
|
|
ports:
|
|
- 8080:80
|
|
|
|
db.postgres:
|
|
image: postgres:latest
|
|
restart: always
|
|
environment:
|
|
POSTGRES_PASSWORD: szwoniu
|
|
PGDATA: /postgres
|
|
ports:
|
|
- 5432:5432
|