2019-05-30 12:49:29 +02:00
|
|
|
version: '3'
|
2019-04-12 09:04:31 +02:00
|
|
|
|
2019-05-30 12:49:29 +02:00
|
|
|
services:
|
2019-08-30 21:02:06 +02:00
|
|
|
proxy:
|
|
|
|
image: nginx:1.17-alpine
|
2019-05-30 12:49:29 +02:00
|
|
|
volumes:
|
2019-08-30 21:02:06 +02:00
|
|
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
2019-05-30 12:49:29 +02:00
|
|
|
ports:
|
2019-10-08 19:46:02 +02:00
|
|
|
- 8000:80
|
2019-08-30 21:02:06 +02:00
|
|
|
depends_on:
|
2019-08-31 14:35:22 +02:00
|
|
|
- homepage
|
2019-08-30 21:02:06 +02:00
|
|
|
- server
|
2019-07-10 17:17:50 +02:00
|
|
|
|
2019-05-30 12:49:29 +02:00
|
|
|
server:
|
2019-10-25 15:48:20 +02:00
|
|
|
image: offen/offen@sha256:4c0d2d5db9bc749d21ad8659008658bf25318074b7c813b0a694e64816df750d
|
2019-10-09 20:34:31 +02:00
|
|
|
command: serve
|
|
|
|
volumes:
|
|
|
|
- ./bootstrap.yml:/bootstrap.yml
|
2019-10-24 12:32:31 +02:00
|
|
|
- database:/data
|
2019-05-30 12:49:29 +02:00
|
|
|
environment:
|
2019-10-24 12:32:31 +02:00
|
|
|
OFFEN_APP_EVENTRETENTIONPERIOD: 4464h
|
|
|
|
OFFEN_APP_DEVELOPMENT: '1'
|
|
|
|
OFFEN_APP_DISABLESECURECOOKIE: '1'
|
|
|
|
OFFEN_DATABASE_CONNECTIONSTRING: /data/offen.db
|
|
|
|
OFFEN_SERVER_PORT: 8080
|
2019-10-25 15:48:20 +02:00
|
|
|
OFFEN_SERVER_REVERSEPROXY: '1'
|
2019-10-24 12:32:31 +02:00
|
|
|
OFFEN_SECRETS_COOKIEEXCHANGE: 8jeKYbbnywoYIZznu4HffQ==
|
|
|
|
OFFEN_SECRETS_EMAILSALT: eypctS7SVKM1Ureb61db5Q==
|
2019-10-08 19:46:02 +02:00
|
|
|
depends_on:
|
2019-07-05 19:54:54 +02:00
|
|
|
- server_database
|
2019-08-30 21:02:06 +02:00
|
|
|
|
|
|
|
server_database:
|
|
|
|
image: postgres:11.2
|
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: develop
|
2019-05-10 12:54:39 +02:00
|
|
|
|
2019-08-31 11:39:50 +02:00
|
|
|
homepage:
|
|
|
|
build:
|
|
|
|
context: '.'
|
|
|
|
dockerfile: ./Dockerfile.python
|
2019-10-08 19:46:02 +02:00
|
|
|
working_dir: /website/homepage
|
2019-08-31 11:39:50 +02:00
|
|
|
volumes:
|
2019-10-08 19:46:02 +02:00
|
|
|
- .:/website
|
2019-08-31 11:39:50 +02:00
|
|
|
- homepagedeps:/root/.local
|
|
|
|
command: make devserver
|
2019-09-04 16:20:35 +02:00
|
|
|
environment:
|
|
|
|
DEBUG: 1
|
2019-08-31 11:39:50 +02:00
|
|
|
|
2019-06-20 12:57:36 +02:00
|
|
|
volumes:
|
2019-08-31 11:39:50 +02:00
|
|
|
homepagedeps:
|
2019-10-24 12:32:31 +02:00
|
|
|
database:
|