Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (51 loc) · 1.71 KB
/
Copy pathdocker-compose.yml
File metadata and controls
52 lines (51 loc) · 1.71 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
46
47
48
49
50
51
52
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
# environment:
# # Development only: run the backend in dev mode. Do NOT use in production.
# - NODE_ENV=development
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: docker.io/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:4.39.16
restart: unless-stopped
ports:
- 127.0.0.1:9091:9091
networks:
default:
aliases:
- authelia.localhost
volumes:
- ./docker/authelia-config:/config:ro
- authelia-secrets:/secrets
volumes:
# database is in this volume
db:
authelia-secrets: