forked from switnet/quick-jibri-installer
fix path and loosen permissions for testing
This commit is contained in:
parent
c4ea620a73
commit
4a432785d6
|
@ -82,8 +82,8 @@ GRANT ALL PRIVILEGES ON DATABASE ${ETHERPAD_DB_NAME} TO ${ETHERPAD_DB_USER};
|
||||||
DB
|
DB
|
||||||
|
|
||||||
# Set environment varibales for docker
|
# Set environment varibales for docker
|
||||||
mkdir /opt/etherpat
|
mkdir /opt/etherpad
|
||||||
cat << EOF > /opt/etherpat/.env
|
cat << EOF > /opt/etherpad/.env
|
||||||
DOCKER_COMPOSE_APP_ADMIN_PASSWORD="$ETHERPAD_ADMIN_PASS"
|
DOCKER_COMPOSE_APP_ADMIN_PASSWORD="$ETHERPAD_ADMIN_PASS"
|
||||||
DOCKER_COMPOSE_APP_DB_CHARSET="utf8mb4"
|
DOCKER_COMPOSE_APP_DB_CHARSET="utf8mb4"
|
||||||
DOCKER_COMPOSE_POSTGRES_HOST="localhost"
|
DOCKER_COMPOSE_POSTGRES_HOST="localhost"
|
||||||
|
@ -96,11 +96,11 @@ DOCKER_COMPOSE_APP_DISABLE_IP_LOGGING="false"
|
||||||
DOCKER_COMPOSE_APP_SOFFICE="null"
|
DOCKER_COMPOSE_APP_SOFFICE="null"
|
||||||
DOCKER_COMPOSE_APP_TRUST_PROXY="true"
|
DOCKER_COMPOSE_APP_TRUST_PROXY="true"
|
||||||
EOF
|
EOF
|
||||||
chmod 600 /opt/etherpat/.env
|
chmod 644 /opt/etherpad/.env
|
||||||
cp files/etherpad/docker-compose.yml /opt/etherpat/
|
cp files/etherpad/docker-compose.yml /opt/etherpad/
|
||||||
chmod 644 /opt/etherpat/docker-compose.yml
|
chmod 644 /opt/etherpad/docker-compose.yml
|
||||||
|
|
||||||
docker-compose -f /opt/etherpat/docker-compose.yml up -d
|
docker-compose -f /opt/etherpad/docker-compose.yml up -d
|
||||||
|
|
||||||
# Tune webserver for Jitsi App control
|
# Tune webserver for Jitsi App control
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue