diff --git a/stacks/gogocarto.yml b/stacks/gogocarto.yml new file mode 100644 index 00000000..ba2cb650 --- /dev/null +++ b/stacks/gogocarto.yml @@ -0,0 +1,50 @@ +# DOMAIN=example.com docker stack deploy -c gogocarto.yml gogocarto +# git clone https://gitlab.com/Seballot/gogocarto/ . +# make init +# chown -R www-data:www-data . + +version: '3.8' + +services: + gogocarto: + image: ethibox/gogocarto:${VERSION:-latest} + environment: + - APP_ENV=${APP_ENV:-prod} + - APP_DEBUG=${APP_DEBUG:-0} + - BASE_PROTOCOL=${SCHEME:-https} + - BASE_URL=${DOMAIN:-gogocarto.localhost} + - MAILER_URL=${MAILER_URL:-smtp://localhost:25?encryption=ssl&auth_mode=login&username=&password=} + - FROM_EMAIL=${FROM_EMAIL:-noreply@example.com} + - CONTACT_EMAIL=${CONTACT_EMAIL:-noreply@example.com} + volumes: + - ${VOLUME_PATH}gogocarto:/var/www + deploy: + labels: + - traefik.enable=true + - traefik.http.routers.gogocarto-${NUMBER:-1}.rule=Host(`${DOMAIN:-gogocarto.localhost}`) + - traefik.http.routers.gogocarto-${NUMBER:-1}.entrypoints=${SCHEME:-https} + - traefik.http.routers.gogocarto-${NUMBER:-1}.service=gogocarto-${NUMBER:-1} + - traefik.http.routers.gogocarto-${NUMBER:-1}.tls.certresolver=letsencrypt + - traefik.http.services.gogocarto-${NUMBER:-1}.loadbalancer.server.port=80 + networks: + - traefik + - internal + + mongo: + image: mongo:4.0.3 + volumes: + - ${VOLUME_PATH}mongo:/data/db + networks: + - internal + +volumes: + mongo: + gogocarto: + +networks: + internal: + driver: overlay + attachable: true + traefik: + external: true + name: traefik-net diff --git a/templates.json b/templates.json index 66167d42..2eec5edb 100644 --- a/templates.json +++ b/templates.json @@ -1827,6 +1827,22 @@ "disabled": true } ] + }, + { + "type": 2, + "title": "GoGoCarto", + "description": "Application pour créer des cartes collaboratives", + "categories": ["Carte"], + "manual": true, + "enabled": true, + "trial": 7, + "price": 19, + "logo": "https://i.imgur.com/pWgJd6Q.png", + "website": "https://gitlab.com/Seballot/gogocarto", + "repository": { + "url": "https://github.com/ethibox/awesome-stacks", + "stackfile": "stacks/gogocarto.yml" + } } ] }