andis compose
This commit is contained in:
79
docker-compose.andis.yml
Normal file
79
docker-compose.andis.yml
Normal file
@@ -0,0 +1,79 @@
|
||||
version: "3"
|
||||
services:
|
||||
flaskfetfotos:
|
||||
image: flask-fet-fotos
|
||||
environment:
|
||||
FLASK_DEBUG: 1
|
||||
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
|
||||
etherpadsql:
|
||||
image: jbergstroem/mariadb-alpine
|
||||
environment:
|
||||
SKIP_INNODB: "no"
|
||||
MYSQL_DATABASE: etherpaddb
|
||||
MYSQL_USER: user
|
||||
MYSQL_PASSWORD: hgu
|
||||
MYSQL_COLLATION: utf8_general_ci
|
||||
MYSQL_CHARSET: utf8
|
||||
volumes:
|
||||
- ep-mysql-volume:/var/lib/mysql
|
||||
etherpad:
|
||||
image: etherpad/etherpad
|
||||
environment:
|
||||
DB_TYPE: mysql
|
||||
DB_HOST: etherpadsql
|
||||
DB_PORT: 3306
|
||||
DB_NAME: etherpaddb
|
||||
DB_USER: user
|
||||
DB_PASS: hgu
|
||||
DB_CHARSET: utf8
|
||||
#ADMIN_PASSWORD: "AndiS"
|
||||
#REQUIRE_AUTHENTICATION: "false"
|
||||
TRUST_PROXY: "true"
|
||||
REQUIRE_SESSION: "true"
|
||||
#LOGLEVEL: "DEBUG"
|
||||
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
|
||||
volumes:
|
||||
- .:/home/project
|
||||
volumes:
|
||||
ep-mysql-volume:
|
||||
mysql-volume:
|
||||
Reference in New Issue
Block a user