-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (44 loc) · 1.45 KB
/
docker-compose.yml
File metadata and controls
45 lines (44 loc) · 1.45 KB
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
services:
app:
depends_on:
# - authelia # for development setup only
- db
image: ghcr.io/hpi-sam/fuesim-digital
# Use this to build the container for yourself:
#build:
# context: .
# dockerfile: docker/Dockerfile
restart: unless-stopped
ports:
- 80:80
env_file:
- .env
# volumes:
# To overwrite the contents of the about pages, mount a directory into the container
# The directory can contain terms.html, license.html, privacy.html and imprint.html
# Example
# - ./about:/usr/local/app/frontend/assets/about
db:
image: postgres:18
volumes:
- db:/var/lib/postgresql
# Use this to expose the database to your host machine
#ports:
# - 127.0.0.1:${DFM_DB_PORT}:5432
environment:
- POSTGRES_USER=${DFM_DB_USER}
- POSTGRES_PASSWORD=${DFM_DB_PASSWORD}
- POSTGRES_DB=${DFM_DB_NAME}
# THIS IS ONLY FOR DEVELOPMENT - for production, please use a proper configured OIDC provider
authelia:
image: docker.io/authelia/authelia:latest
restart: unless-stopped
ports:
- 127.0.0.1:9091:9091
volumes:
- ./docker/authelia-config:/config:ro
- authelia-secrets:/secrets
volumes:
# database is in this volume
db:
authelia-secrets: