mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
feat: Add extensive collection of application blueprints with Docker Compose configurations
This commit is contained in:
55
blueprints/glitchtip/docker-compose.yml
Normal file
55
blueprints/glitchtip/docker-compose.yml
Normal file
@@ -0,0 +1,55 @@
|
||||
x-environment: &default-environment
|
||||
DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres
|
||||
SECRET_KEY: ${SECRET_KEY}
|
||||
PORT: ${GLITCHTIP_PORT}
|
||||
EMAIL_URL: consolemail://
|
||||
GLITCHTIP_DOMAIN: http://${GLITCHTIP_HOST}
|
||||
DEFAULT_FROM_EMAIL: email@glitchtip.com
|
||||
CELERY_WORKER_AUTOSCALE: "1,3"
|
||||
CELERY_WORKER_MAX_TASKS_PER_CHILD: "10000"
|
||||
|
||||
x-depends_on: &default-depends_on
|
||||
- postgres
|
||||
- redis
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16
|
||||
environment:
|
||||
POSTGRES_HOST_AUTH_METHOD: "trust"
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- pg-data:/var/lib/postgresql/data
|
||||
|
||||
redis:
|
||||
image: redis
|
||||
restart: unless-stopped
|
||||
|
||||
web:
|
||||
image: glitchtip/glitchtip:v4.0
|
||||
depends_on: *default-depends_on
|
||||
ports:
|
||||
- ${GLITCHTIP_PORT}
|
||||
environment: *default-environment
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- uploads:/code/uploads
|
||||
worker:
|
||||
image: glitchtip/glitchtip:v4.0
|
||||
command: ./bin/run-celery-with-beat.sh
|
||||
depends_on: *default-depends_on
|
||||
environment: *default-environment
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- uploads:/code/uploads
|
||||
|
||||
migrate:
|
||||
image: glitchtip/glitchtip:v4.0
|
||||
depends_on: *default-depends_on
|
||||
command: "./manage.py migrate"
|
||||
environment: *default-environment
|
||||
|
||||
|
||||
volumes:
|
||||
pg-data:
|
||||
uploads:
|
||||
BIN
blueprints/glitchtip/glitchtip.png
Normal file
BIN
blueprints/glitchtip/glitchtip.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
16
blueprints/glitchtip/template.yml
Normal file
16
blueprints/glitchtip/template.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
variables:
|
||||
main_domain: ${randomDomain}
|
||||
secret_key: ${base64:32}
|
||||
|
||||
config:
|
||||
domains:
|
||||
- serviceName: web
|
||||
port: 8000
|
||||
host: ${main_domain}
|
||||
|
||||
env:
|
||||
- GLITCHTIP_HOST=${main_domain}
|
||||
- GLITCHTIP_PORT=8000
|
||||
- SECRET_KEY=${secret_key}
|
||||
|
||||
mounts: []
|
||||
Reference in New Issue
Block a user