-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (34 loc) · 931 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (34 loc) · 931 Bytes
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
version: '3.8'
services:
fcwebapp:
build:
context: .
dockerfile: Containerfile
ports:
- "8000:8000"
environment:
CSH_OIDC_ISSUER: ${CSH_OIDC_ISSUER}
CSH_OIDC_CLIENT_ID: ${CSH_OIDC_CLIENT_ID}
CSH_OIDC_CLIENT_SECRET: ${CSH_OIDC_CLIENT_SECRET}
SECRET_KEY: ${SECRET_KEY}
DATABASE_URI: postgresql://fcwebapp:password@localhost/fcwebapp
BASE_URL: ${BASE_URL}
GGL_OIDC_ISSUER: ${GGL_OIDC_ISSUER}
GGL_OIDC_CLIENT_ID: ${GGL_OIDC_CLIENT_ID}
GGL_OIDC_CLIENT_SECRET: ${GGL_OIDC_CLIENT_SECRET}
depends_on:
- postgres
postgres:
image: postgres:17
container_name: postgres
environment:
POSTGRES_USER: fcwebapp
POSTGRES_PASSWORD: password
POSTGRES_DB: fcwebapp
command: ["postgres", "-c", "log_statement=all"]
volumes:
- pgdata:/var/lib/postgresql/data
ports:
- "5432:5432"
volumes:
pgdata: