fix path and loosen permissions for testing

This commit is contained in:
Luis Guzmán 2025-01-20 14:46:10 -06:00
parent c4ea620a73
commit 4a432785d6
1 changed files with 6 additions and 6 deletions

View File

@ -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