Skip to content

Commit

Permalink
feat: add gogocarto
Browse files Browse the repository at this point in the history
  • Loading branch information
johackim committed Aug 29, 2023
1 parent a9cb679 commit 4029170
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
50 changes: 50 additions & 0 deletions stacks/gogocarto.yml
Original file line number Diff line number Diff line change
@@ -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:[email protected]}
- CONTACT_EMAIL=${CONTACT_EMAIL:[email protected]}
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
16 changes: 16 additions & 0 deletions templates.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
]
}

0 comments on commit 4029170

Please sign in to comment.