|
@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
|
GOGOCARTO_DIR="/opt/apps/gogocarto" |
|
|
GOGOCARTO_DIR="/opt/apps/gogocarto" |
|
|
GOGOCARTO_CODE="$SERVICE_CONFIGSTORE$GOGOCARTO_DIR" |
|
|
GOGOCARTO_CODE="$SERVICE_CONFIGSTORE$GOGOCARTO_DIR" |
|
|
GOGOCARTO_RELEASE=3.1.3-56-g6b8ba361 |
|
|
|
|
|
|
|
|
GOGOCARTO_RELEASE=3.4.10 |
|
|
GOGOCARTO_URL=https://docker.0k.io/downloads/gogocarto-"${GOGOCARTO_RELEASE}".tar.bz2 |
|
|
GOGOCARTO_URL=https://docker.0k.io/downloads/gogocarto-"${GOGOCARTO_RELEASE}".tar.bz2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -27,7 +27,7 @@ gogocarto:init() { |
|
|
if [ "$current_version" != "$GOGOCARTO_RELEASE" ]; then |
|
|
if [ "$current_version" != "$GOGOCARTO_RELEASE" ]; then |
|
|
cd "${GOGOCARTO_CODE}" || return 1 |
|
|
cd "${GOGOCARTO_CODE}" || return 1 |
|
|
if [ -d "$PWD"/.git ]; then |
|
|
if [ -d "$PWD"/.git ]; then |
|
|
rm -rf "$PWD"/* "$PWD"/{.version,.inited-*,.env} || return 1 |
|
|
|
|
|
|
|
|
rm -rf "$PWD"/* "$PWD"/{.version,.env} || return 1 |
|
|
else |
|
|
else |
|
|
err "Can't find the '.git' directory in ${GOGOCARTO_CODE}." |
|
|
err "Can't find the '.git' directory in ${GOGOCARTO_CODE}." |
|
|
return 1 |
|
|
return 1 |
|
@ -48,6 +48,7 @@ gogocarto:init() { |
|
|
err "'git commit' failed." |
|
|
err "'git commit' failed." |
|
|
return 1 |
|
|
return 1 |
|
|
} |
|
|
} |
|
|
|
|
|
rm -rf "$SERVICE_DATASTORE/var/cache/gogocarto/"* |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
} |
|
|
} |
|
@ -79,6 +80,7 @@ FILES_MAX_FILESIZE=1M # for other public file upload |
|
|
###> vich upload ### |
|
|
###> vich upload ### |
|
|
|
|
|
|
|
|
USE_AS_SAAS=false |
|
|
USE_AS_SAAS=false |
|
|
|
|
|
USE_AS_SAAS_PRIVATE=false |
|
|
CONTACT_EMAIL=contact@localhost.fr |
|
|
CONTACT_EMAIL=contact@localhost.fr |
|
|
INSTANCE_NAME=GoGoCarto |
|
|
INSTANCE_NAME=GoGoCarto |
|
|
|
|
|
|
|
@ -89,6 +91,7 @@ INSTANCE_NAME=GoGoCarto |
|
|
# Delivery is disabled by default via "null://localhost" |
|
|
# Delivery is disabled by default via "null://localhost" |
|
|
MAILER_URL=gmail://test.gogocarto:creerdescartesagogo@localhost |
|
|
MAILER_URL=gmail://test.gogocarto:creerdescartesagogo@localhost |
|
|
FROM_EMAIL=test.gogocarto@gmail.com |
|
|
FROM_EMAIL=test.gogocarto@gmail.com |
|
|
|
|
|
MAX_EMAIL_PER_HOUR=70 |
|
|
###< symfony/swiftmailer-bundle ### |
|
|
###< symfony/swiftmailer-bundle ### |
|
|
|
|
|
|
|
|
###> hwi/oauth-bundle ### |
|
|
###> hwi/oauth-bundle ### |
|
@ -105,6 +108,13 @@ OAUTH_FACEBOOK_SECRET=disabled |
|
|
# exple: SENTRY_DSN=https://6145d1aac36c429781fc1b0f79b0da48@sentry.io/1402018 |
|
|
# exple: SENTRY_DSN=https://6145d1aac36c429781fc1b0f79b0da48@sentry.io/1402018 |
|
|
SENTRY_DSN= |
|
|
SENTRY_DSN= |
|
|
###< sentry/sentry-symfony ### |
|
|
###< sentry/sentry-symfony ### |
|
|
|
|
|
|
|
|
|
|
|
###> Matomo integration - see docs/matomo.md ### |
|
|
|
|
|
MATOMO_URL= |
|
|
|
|
|
MATOMO_SITE_ID= |
|
|
|
|
|
MATOMO_USER_TOKEN= |
|
|
|
|
|
###< Matomo ### |
|
|
|
|
|
|
|
|
EOF |
|
|
EOF |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|