2
0
mirror of https://github.com/offen/website.git synced 2024-10-18 12:10:25 +02:00

remove uneeded options, proxy homepage behind nginx too

This commit is contained in:
Frederik Ring 2019-08-31 11:39:50 +02:00
parent c21472128b
commit 8beabe7f6b
2 changed files with 14 additions and 19 deletions

View File

@ -8,6 +8,7 @@ services:
- ./styles:/code/styles - ./styles:/code/styles
ports: ports:
- 8080:80 - 8080:80
- 8081:81
depends_on: depends_on:
- server - server
- auditorium - auditorium
@ -83,8 +84,21 @@ services:
environment: environment:
- VAULT_HOST=http://localhost:8080/vault/ - VAULT_HOST=http://localhost:8080/vault/
homepage:
build:
context: '.'
dockerfile: ./Dockerfile.python
working_dir: /offen/homepage
volumes:
- .:/offen
- homepagedeps:/root/.local
command: make devserver
ports:
- 8000:8000
volumes: volumes:
serverdeps: serverdeps:
scriptdeps: scriptdeps:
auditoriumdeps: auditoriumdeps:
vaultdeps: vaultdeps:
homepagedeps:

View File

@ -1,19 +0,0 @@
version: '3'
services:
homepage:
build:
context: '.'
dockerfile: ./../Dockerfile.python
working_dir: /offen/homepage
volumes:
- ..:/offen
- homepagedeps:/root/.local
command: make devserver
ports:
- 8000:8000
environment:
DEBUG: '1'
volumes:
homepagedeps: