improve docker dev
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
version: "3"
|
||||
version: "2"
|
||||
services:
|
||||
flaskfetfotos:
|
||||
image: flask-fet-fotos
|
||||
@@ -7,27 +7,16 @@ services:
|
||||
FLASK_APP: main.py
|
||||
pages_root: /app/data
|
||||
volumes:
|
||||
- /mnt/fotos/www:/app/data
|
||||
mysql:
|
||||
image: jbergstroem/mariadb-alpine
|
||||
environment:
|
||||
SKIP_INNODB: "yes"
|
||||
MYSQL_DATABASE: fet2020db
|
||||
MYSQL_USER: user
|
||||
MYSQL_PASSWORD: hgu
|
||||
MYSQL_COLLATION: utf8_general_ci
|
||||
MYSQL_CHARSET: utf8
|
||||
volumes:
|
||||
- mysql-volume:/var/lib/mysql
|
||||
- foto-data:/app/data
|
||||
etherpadsql:
|
||||
image: jbergstroem/mariadb-alpine
|
||||
image: mariadb
|
||||
environment:
|
||||
SKIP_INNODB: "no"
|
||||
MYSQL_DATABASE: etherpaddb
|
||||
MYSQL_USER: user
|
||||
MYSQL_PASSWORD: hgu
|
||||
MYSQL_COLLATION: utf8_general_ci
|
||||
MYSQL_CHARSET: utf8
|
||||
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
|
||||
volumes:
|
||||
- ep-mysql-volume:/var/lib/mysql
|
||||
etherpad:
|
||||
@@ -40,38 +29,14 @@ services:
|
||||
DB_USER: user
|
||||
DB_PASS: hgu
|
||||
DB_CHARSET: utf8
|
||||
#ADMIN_PASSWORD: "AndiS"
|
||||
#REQUIRE_AUTHENTICATION: "false"
|
||||
TRUST_PROXY: "true"
|
||||
REQUIRE_SESSION: "true"
|
||||
#LOGLEVEL: "DEBUG"
|
||||
REQUIRE_SESSION: "true"
|
||||
depends_on:
|
||||
- etherpadsql
|
||||
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
|
||||
# restart: always
|
||||
theia:
|
||||
image: theiaide/theia-python:latest
|
||||
image: docker.triton2.fet.at/theia-fet2020:latest
|
||||
volumes:
|
||||
- .:/home/project
|
||||
- ./etherpad/APIKEY.txt:/srv/etherpad/APIKEY.txt
|
||||
@@ -83,4 +48,6 @@ services:
|
||||
- "8106:8080"
|
||||
volumes:
|
||||
ep-mysql-volume:
|
||||
mysql-volume:
|
||||
driver: local
|
||||
foto-data:
|
||||
driver: local
|
||||
Reference in New Issue
Block a user