2
0
mirror of https://github.com/offen/website.git synced 2024-12-23 21:30:22 +01:00
website/docker-compose.yml

52 lines
1.2 KiB
YAML
Raw Normal View History

2019-05-30 12:49:29 +02:00
version: '3'
2019-05-30 12:49:29 +02:00
services:
proxy:
image: nginx:1.17-alpine
2019-05-30 12:49:29 +02:00
volumes:
- ./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
depends_on:
2019-08-31 14:35:22 +02:00
- homepage
- server
2019-05-30 12:49:29 +02:00
server:
image: offen/offen@sha256:4c0d2d5db9bc749d21ad8659008658bf25318074b7c813b0a694e64816df750d
2019-10-09 20:34:31 +02:00
command: serve
volumes:
- ./bootstrap.yml:/bootstrap.yml
- database:/data
2019-05-30 12:49:29 +02:00
environment:
OFFEN_APP_EVENTRETENTIONPERIOD: 4464h
OFFEN_APP_DEVELOPMENT: '1'
OFFEN_APP_DISABLESECURECOOKIE: '1'
OFFEN_DATABASE_CONNECTIONSTRING: /data/offen.db
OFFEN_SERVER_PORT: 8080
OFFEN_SERVER_REVERSEPROXY: '1'
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
server_database:
image: postgres:11.2
environment:
POSTGRES_PASSWORD: develop
2019-05-10 12:54:39 +02:00
homepage:
build:
context: '.'
dockerfile: ./Dockerfile.python
2019-10-08 19:46:02 +02:00
working_dir: /website/homepage
volumes:
2019-10-08 19:46:02 +02:00
- .:/website
- homepagedeps:/root/.local
command: make devserver
2019-09-04 16:20:35 +02:00
environment:
DEBUG: 1
volumes:
homepagedeps:
database: