add nginx dev and dev docker

This commit is contained in:
2020-12-29 22:33:18 +00:00
parent fff65d109d
commit e20248b9e5
4 changed files with 102 additions and 37 deletions

View File

@@ -50,30 +50,36 @@ services:
volumes:
- ./etherpad/APIKEY.txt:/opt/etherpad-lite/APIKEY.txt
# restart: always
fet2020:
image: fet2020django
build: .
environment:
HOST_NAME: andis.2020.fet.at
DEBUG: "False"
SECRET_KEY: arguiq3ebhnjo
MYSQL_USER: user
MYSQL_PASSWORD: hgu
MYSQL_PORT: 3306
depends_on:
- mysql
ports:
- "8106:8080"
volumes:
- ./fet2020:/app
- ./assets:/app/assets
- ./etherpad:/app/etherpad
- ./deployment/nginx.conf:/etc/nginx/conf.d/fet2020.conf
# fet2020:
# image: fet2020django
# build: .
# environment:
# HOST_NAME: andis.2020.fet.at
# DEBUG: "False"
# SECRET_KEY: arguiq3ebhnjo
# MYSQL_USER: user
# MYSQL_PASSWORD: hgu
# MYSQL_PORT: 3306
# depends_on:
# - mysql
# ports:
# - "8106:8080"
# volumes:
# - ./fet2020:/app
# - ./assets:/app/assets
# - ./etherpad:/app/etherpad
# - ./deployment/nginx.conf:/etc/nginx/conf.d/fet2020.conf
# restart: always
theia:
image: theiaide/theia-python:latest
volumes:
- .:/home/project
nginx:
image: nginx:alpine
volumes:
- ./deployment/nginxdev.conf:/etc/nginx/conf.d/default.conf
ports:
- "8106:8080"
volumes:
ep-mysql-volume:
mysql-volume: