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
|
||||
|
||||
# Set environment varibales for docker
|
||||
mkdir /opt/etherpat
|
||||
cat << EOF > /opt/etherpat/.env
|
||||
mkdir /opt/etherpad
|
||||
cat << EOF > /opt/etherpad/.env
|
||||
DOCKER_COMPOSE_APP_ADMIN_PASSWORD="$ETHERPAD_ADMIN_PASS"
|
||||
DOCKER_COMPOSE_APP_DB_CHARSET="utf8mb4"
|
||||
DOCKER_COMPOSE_POSTGRES_HOST="localhost"
|
||||
|
@ -96,11 +96,11 @@ DOCKER_COMPOSE_APP_DISABLE_IP_LOGGING="false"
|
|||
DOCKER_COMPOSE_APP_SOFFICE="null"
|
||||
DOCKER_COMPOSE_APP_TRUST_PROXY="true"
|
||||
EOF
|
||||
chmod 600 /opt/etherpat/.env
|
||||
cp files/etherpad/docker-compose.yml /opt/etherpat/
|
||||
chmod 644 /opt/etherpat/docker-compose.yml
|
||||
chmod 644 /opt/etherpad/.env
|
||||
cp files/etherpad/docker-compose.yml /opt/etherpad/
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue