add nginx dev and dev docker
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user