update test docker compose
This commit is contained in:
@@ -9,6 +9,7 @@ services:
|
|||||||
# volumes: - /mnt/fotos/www:/app/data
|
# volumes: - /mnt/fotos/www:/app/data
|
||||||
mysql:
|
mysql:
|
||||||
image: mariadb
|
image: mariadb
|
||||||
|
container_name: test_mysql
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: fet2020db
|
MYSQL_DATABASE: fet2020db
|
||||||
MYSQL_USER: user
|
MYSQL_USER: user
|
||||||
@@ -21,6 +22,7 @@ services:
|
|||||||
#- /root/2022_04_24/mysql:/docker-entrypoint-initdb.d/
|
#- /root/2022_04_24/mysql:/docker-entrypoint-initdb.d/
|
||||||
etherpadsql:
|
etherpadsql:
|
||||||
image: mariadb
|
image: mariadb
|
||||||
|
container_name: test_mysql_etherpad
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: etherpaddb
|
MYSQL_DATABASE: etherpaddb
|
||||||
MYSQL_USER: user
|
MYSQL_USER: user
|
||||||
@@ -33,6 +35,7 @@ services:
|
|||||||
# - /root/2022_04_24/etherpad:/docker-entrypoint-initdb.d/
|
# - /root/2022_04_24/etherpad:/docker-entrypoint-initdb.d/
|
||||||
etherpad:
|
etherpad:
|
||||||
image: etherpad/etherpad
|
image: etherpad/etherpad
|
||||||
|
container_name: test_etherpad
|
||||||
environment:
|
environment:
|
||||||
DB_TYPE: mysql
|
DB_TYPE: mysql
|
||||||
DB_HOST: etherpadsql
|
DB_HOST: etherpadsql
|
||||||
@@ -50,6 +53,7 @@ services:
|
|||||||
# - ./deployment/mysql.cnf:/etc/mysql/conf.d
|
# - ./deployment/mysql.cnf:/etc/mysql/conf.d
|
||||||
fet2020:
|
fet2020:
|
||||||
image: docker.fet.at/fet2020django
|
image: docker.fet.at/fet2020django
|
||||||
|
container_name: test_fet2020
|
||||||
environment:
|
environment:
|
||||||
- HOST_NAME
|
- HOST_NAME
|
||||||
- DEBUG
|
- DEBUG
|
||||||
@@ -64,7 +68,7 @@ services:
|
|||||||
- "8005:8080"
|
- "8005:8080"
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/APIKEY.txt:/app/etherpad/APIKEY.txt
|
- /srv/APIKEY.txt:/app/etherpad/APIKEY.txt
|
||||||
- files:/app/files
|
- /srv/files:/app/files
|
||||||
volumes:
|
volumes:
|
||||||
ep-mysql-volume:
|
ep-mysql-volume:
|
||||||
driver: local
|
driver: local
|
||||||
|
|||||||
Reference in New Issue
Block a user