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-08-30 21:02:06 +02:00
|
|
|
- 8080:80
|
|
|
|
depends_on:
|
2019-08-31 14:35:22 +02:00
|
|
|
- homepage
|
2019-08-30 21:02:06 +02:00
|
|
|
- server
|
|
|
|
- auditorium
|
|
|
|
- vault
|
|
|
|
- script
|
2019-07-10 17:17:50 +02:00
|
|
|
|
2019-05-30 12:49:29 +02:00
|
|
|
server:
|
2019-06-20 12:57:36 +02:00
|
|
|
build:
|
|
|
|
context: '.'
|
|
|
|
dockerfile: Dockerfile.golang
|
|
|
|
working_dir: /offen/server
|
2019-05-30 12:49:29 +02:00
|
|
|
volumes:
|
2019-06-20 12:57:36 +02:00
|
|
|
- .:/offen
|
2019-07-10 17:17:50 +02:00
|
|
|
- ./bootstrap.yml:/offen/server/bootstrap.yml
|
2019-06-20 12:57:36 +02:00
|
|
|
- serverdeps:/go/pkg/mod
|
2019-05-30 12:49:29 +02:00
|
|
|
environment:
|
2019-07-07 13:21:20 +02:00
|
|
|
POSTGRES_CONNECTION_STRING: postgres://postgres:develop@server_database:5432/postgres?sslmode=disable
|
|
|
|
PORT: 8080
|
2019-07-21 10:37:09 +02:00
|
|
|
DEVELOPMENT: '1'
|
2019-09-05 16:24:01 +02:00
|
|
|
COOKIE_EXCHANGE_SECRET: 3P+w6QetKO3Kn8h1YyRlCw==
|
2019-08-15 11:55:35 +02:00
|
|
|
EVENT_RETENTION_PERIOD: 4464h
|
2019-09-05 21:05:14 +02:00
|
|
|
ACCOUNT_USER_EMAIL_SALT: JuhbRA4lCdo8rt5qVdLpk3==
|
2019-09-11 20:31:45 +02:00
|
|
|
SECURE_COOKIE: 'off'
|
2019-06-20 12:57:36 +02:00
|
|
|
command: refresh run
|
2019-05-30 12:49:29 +02:00
|
|
|
links:
|
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-05-30 12:49:29 +02:00
|
|
|
vault:
|
2019-06-20 12:57:36 +02:00
|
|
|
build:
|
|
|
|
context: '.'
|
|
|
|
dockerfile: Dockerfile.node
|
2019-05-30 12:49:29 +02:00
|
|
|
working_dir: /offen/vault
|
|
|
|
volumes:
|
|
|
|
- .:/offen
|
2019-06-20 12:57:36 +02:00
|
|
|
- vaultdeps:/offen/vault/node_modules
|
2019-05-30 12:49:29 +02:00
|
|
|
command: npm start -- --port 9977
|
|
|
|
|
|
|
|
script:
|
2019-06-20 12:57:36 +02:00
|
|
|
build:
|
|
|
|
context: '.'
|
|
|
|
dockerfile: Dockerfile.node
|
2019-05-30 12:49:29 +02:00
|
|
|
working_dir: /offen/script
|
|
|
|
volumes:
|
|
|
|
- .:/offen
|
2019-06-20 12:57:36 +02:00
|
|
|
- scriptdeps:/offen/script/node_modules
|
2019-05-30 12:49:29 +02:00
|
|
|
command: npm start -- --port 9966
|
|
|
|
|
|
|
|
auditorium:
|
2019-06-20 12:57:36 +02:00
|
|
|
build:
|
|
|
|
context: '.'
|
|
|
|
dockerfile: Dockerfile.node
|
2019-05-30 12:49:29 +02:00
|
|
|
working_dir: /offen/auditorium
|
|
|
|
volumes:
|
|
|
|
- .:/offen
|
2019-06-21 13:25:32 +02:00
|
|
|
- auditoriumdeps:/offen/auditorium/node_modules
|
2019-05-30 12:49:29 +02:00
|
|
|
command: npm start -- --port 9955
|
2019-07-05 19:54:54 +02:00
|
|
|
|
2019-08-31 11:39:50 +02:00
|
|
|
homepage:
|
|
|
|
build:
|
|
|
|
context: '.'
|
|
|
|
dockerfile: ./Dockerfile.python
|
|
|
|
working_dir: /offen/homepage
|
|
|
|
volumes:
|
|
|
|
- .:/offen
|
|
|
|
- homepagedeps:/root/.local
|
|
|
|
command: make devserver
|
|
|
|
ports:
|
|
|
|
- 8000:8000
|
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:
|
|
|
|
serverdeps:
|
|
|
|
scriptdeps:
|
2019-06-21 13:25:32 +02:00
|
|
|
auditoriumdeps:
|
2019-06-20 12:57:36 +02:00
|
|
|
vaultdeps:
|
2019-08-31 11:39:50 +02:00
|
|
|
homepagedeps:
|