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:
37
blueprints/ryot/docker-compose.yml
Normal file
37
blueprints/ryot/docker-compose.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
version: '3.7'
|
||||
|
||||
services:
|
||||
ryot-app:
|
||||
image: ignisda/ryot:v7.10
|
||||
|
||||
environment:
|
||||
- DATABASE_URL=postgres://postgres:${POSTGRES_PASSWORD}@ryot-db:5432/postgres
|
||||
- SERVER_ADMIN_ACCESS_TOKEN=${ADMIN_ACCESS_TOKEN}
|
||||
- TZ=UTC
|
||||
# Optional: Uncomment and set your pro key if you have one
|
||||
# - SERVER_PRO_KEY=${SERVER_PRO_KEY}
|
||||
depends_on:
|
||||
ryot-db:
|
||||
condition: service_healthy
|
||||
restart: always
|
||||
pull_policy: always
|
||||
|
||||
ryot-db:
|
||||
image: postgres:16-alpine
|
||||
|
||||
volumes:
|
||||
- ryot-postgres-data:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- POSTGRES_USER=postgres
|
||||
- POSTGRES_DB=postgres
|
||||
- TZ=UTC
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
ryot-postgres-data:
|
||||
BIN
blueprints/ryot/ryot.png
Normal file
BIN
blueprints/ryot/ryot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
18
blueprints/ryot/template.yml
Normal file
18
blueprints/ryot/template.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
variables:
|
||||
main_domain: ${randomDomain}
|
||||
postgres_password: ${password}
|
||||
admin_access_token: ${base64:32}
|
||||
|
||||
config:
|
||||
domains:
|
||||
- serviceName: ryot-app
|
||||
port: 8000
|
||||
host: ${main_domain}
|
||||
|
||||
env:
|
||||
POSTGRES_PASSWORD: ${postgres_password}
|
||||
ADMIN_ACCESS_TOKEN: ${admin_access_token}
|
||||
# Optional: Uncomment and set your pro key if you have one
|
||||
# SERVER_PRO_KEY: "your_pro_key_here"
|
||||
|
||||
mounts: []
|
||||
Reference in New Issue
Block a user