-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
Backend
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
services: | ||
mensa-app: | ||
image: ghcr.io/kronos-et-al/mensa-app | ||
#command: --migrate # only run for the first time to create initial database structure | ||
ports: | ||
- 80:80 | ||
environment: # please configure accordingly <------------------------------------------------------------ | ||
- DATABASE_URL=postgres://postgres:secret_password@database/mensa_app # only change password if wanted | ||
- SMTP_SERVER=<domain of mail server> | ||
- SMTP_PORT=<port of mail server> | ||
- SMTP_USERNAME=<username of mail server> | ||
- SMTP_PASSWORD=<password of mail server> | ||
- ADMIN_EMAIL=<email address admin notofocations should be send to> | ||
- FLICKR_API_KEY=<flickr public api key> | ||
- TZ=Europe/Berlin | ||
restart: unless-stopped | ||
depends_on: | ||
- database | ||
database: | ||
image: postgres | ||
volumes: | ||
- dbdata:/var/lib/postgresql/data | ||
environment: | ||
- POSTGRES_USER=postgres | ||
- POSTGRES_PASSWORD=secret_password # change here and above <------------------------------------------ | ||
- POSTGRES_DB=mensa_app | ||
- TZ=Europe/Berlin | ||
restart: unless-stopped | ||
admin: | ||
image: dpage/pgadmin4 | ||
environment: # change <---------------------------------------------------------------------------------- | ||
- PGADMIN_DEFAULT_EMAIL= | ||
- PGADMIN_DEFAULT_PASSWORD= | ||
- TZ=Europe/Berlin | ||
ports: | ||
- 8888:80 | ||
volumes: | ||
- pgadmin:/var/lib/pgadmin | ||
restart: unless-stopped | ||
depends_on: | ||
- database | ||
|
||
volumes: | ||
dbdata: | ||
pgadmin: |