mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-19 12:55:27 +02:00
* Add Habitica entry to meta.json - Introduced Habitica, a productivity app that gamifies habit tracking, with a detailed description, logo, and relevant links. - Updated tag formatting for consistency across entries. * Add GitLab CE entry to meta.json - Introduced GitLab Community Edition with a detailed description, logo, and relevant links. - Updated tag formatting for consistency across entries. * Refactor Habitica blueprint to use client-server architecture with MongoDB volume and simplified email configuration
34 lines
765 B
YAML
34 lines
765 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
server:
|
|
image: docker.io/awinterstein/habitica-server:latest
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- mongo
|
|
environment:
|
|
- NODE_DB_URI=mongodb://mongo/habitica
|
|
|
|
client:
|
|
image: docker.io/awinterstein/habitica-client:latest
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- server
|
|
ports:
|
|
- "80"
|
|
|
|
mongo:
|
|
image: docker.io/mongo:latest
|
|
restart: unless-stopped
|
|
command: ["--replSet", "rs", "--bind_ip_all", "--port", "27017"]
|
|
healthcheck:
|
|
test: echo "try { rs.status() } catch (err) { rs.initiate() }" | mongosh --port 27017 --quiet
|
|
interval: 10s
|
|
timeout: 30s
|
|
retries: 30
|
|
volumes:
|
|
- habitica-mongo-data:/data/db
|
|
|
|
volumes:
|
|
habitica-mongo-data: {}
|