forked from openmensa/openmensa
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (34 loc) · 742 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (34 loc) · 742 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
38
---
version: "2.4"
services:
postgres:
image: postgres:14.7-alpine
restart: always
environment:
POSTGRES_USER: openmensa
POSTGRES_PASSWORD: openmensa
POSTGRES_DB: openmensa
volumes:
- postgres:/var/lib/postgresql/data
openmensa:
image: ghcr.io/openmensa/openmensa:latest
restart: always
environment:
DATABASE_URL: postgresql://openmensa:openmensa@postgres/openmensa
volumes:
- www:/mnt/www
depends_on:
- postgres
nginx:
image: nginx:1.23-alpine
restart: always
volumes:
- www:/mnt/www:ro
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
ports:
- "3000:8080"
depends_on:
- openmensa
volumes:
postgres:
www: