mirror of
https://github.com/Dokploy/templates.git
synced 2026-11-11 13:38:07 -06:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fb64197738 |
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
evolution-api:
|
evolution-api:
|
||||||
image: evoapicloud/evolution-api:latest
|
image: evoapicloud/evolution-api:v2.3.7
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- evolution-instances:/evolution/instances
|
- evolution-instances:/evolution/instances
|
||||||
@@ -29,6 +29,13 @@ services:
|
|||||||
- CACHE_REDIS_URI=${CACHE_REDIS_URI}
|
- CACHE_REDIS_URI=${CACHE_REDIS_URI}
|
||||||
- CACHE_REDIS_PREFIX_KEY=${CACHE_REDIS_PREFIX_KEY}
|
- CACHE_REDIS_PREFIX_KEY=${CACHE_REDIS_PREFIX_KEY}
|
||||||
- CACHE_REDIS_SAVE_INSTANCES=${CACHE_REDIS_SAVE_INSTANCES}
|
- CACHE_REDIS_SAVE_INSTANCES=${CACHE_REDIS_SAVE_INSTANCES}
|
||||||
|
- TYPEBOT_ENABLED=${TYPEBOT_ENABLED}
|
||||||
|
- TYPEBOT_API_VERSION=${TYPEBOT_API_VERSION}
|
||||||
|
- CHATWOOT_ENABLED=${CHATWOOT_ENABLED}
|
||||||
|
- OPENAI_ENABLED=${OPENAI_ENABLED}
|
||||||
|
- DIFY_ENABLED=${DIFY_ENABLED}
|
||||||
|
- N8N_ENABLED=${N8N_ENABLED}
|
||||||
|
- EVOAI_ENABLED=${EVOAI_ENABLED}
|
||||||
|
|
||||||
evolution-postgres:
|
evolution-postgres:
|
||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "evolutionapi",
|
"id": "evolutionapi",
|
||||||
"name": "Evolution API",
|
"name": "Evolution API",
|
||||||
"version": "v2.1.2",
|
"version": "v2.3.7",
|
||||||
"description": "Evolution API is a robust platform dedicated to empowering small businesses with limited resources, going beyond a simple messaging solution via WhatsApp.",
|
"description": "Evolution API is a robust platform dedicated to empowering small businesses with limited resources, going beyond a simple messaging solution via WhatsApp.",
|
||||||
"logo": "evolutionapi.png",
|
"logo": "evolutionapi.png",
|
||||||
"links": {
|
"links": {
|
||||||
|
|||||||
@@ -31,6 +31,13 @@ env = [
|
|||||||
"CACHE_REDIS_URI=redis://evolution-redis:6379",
|
"CACHE_REDIS_URI=redis://evolution-redis:6379",
|
||||||
"CACHE_REDIS_PREFIX_KEY=evolution",
|
"CACHE_REDIS_PREFIX_KEY=evolution",
|
||||||
"CACHE_REDIS_SAVE_INSTANCES=true",
|
"CACHE_REDIS_SAVE_INSTANCES=true",
|
||||||
|
"TYPEBOT_ENABLED=true",
|
||||||
|
"TYPEBOT_API_VERSION=latest",
|
||||||
|
"CHATWOOT_ENABLED=true",
|
||||||
|
"OPENAI_ENABLED=true",
|
||||||
|
"DIFY_ENABLED=true",
|
||||||
|
"N8N_ENABLED=true",
|
||||||
|
"EVOAI_ENABLED=true",
|
||||||
]
|
]
|
||||||
mounts = []
|
mounts = []
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,14 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: ghcr.io/logto-io/logto:1.41.0
|
|
||||||
restart: unless-stopped
|
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
postgres:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
image: ghcr.io/logto-io/logto:1.27.0
|
||||||
entrypoint: ["sh", "-c", "npm run cli db seed -- --swe && npm start"]
|
entrypoint: ["sh", "-c", "npm run cli db seed -- --swe && npm start"]
|
||||||
|
ports:
|
||||||
|
- 3001
|
||||||
|
- 3002
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
TRUST_PROXY_HEADER: 1
|
TRUST_PROXY_HEADER: 1
|
||||||
DB_URL: postgres://logto:${LOGTO_POSTGRES_PASSWORD}@postgres:5432/logto
|
DB_URL: postgres://logto:${LOGTO_POSTGRES_PASSWORD}@postgres:5432/logto
|
||||||
@@ -15,19 +18,20 @@ services:
|
|||||||
- logto-connectors:/etc/logto/packages/core/connectors
|
- logto-connectors:/etc/logto/packages/core/connectors
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:17-alpine
|
image: postgres:17-alpine
|
||||||
restart: unless-stopped
|
user: postgres
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: logto
|
POSTGRES_USER: logto
|
||||||
POSTGRES_PASSWORD: ${LOGTO_POSTGRES_PASSWORD}
|
POSTGRES_PASSWORD: ${LOGTO_POSTGRES_PASSWORD}
|
||||||
POSTGRES_DB: logto
|
|
||||||
volumes:
|
volumes:
|
||||||
- postgres-data:/var/lib/postgresql/data
|
- postgres-data:/var/lib/postgresql/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U logto -d logto"]
|
test: ["CMD-SHELL", "pg_isready"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
logto-connectors:
|
logto-connectors:
|
||||||
postgres-data:
|
postgres-data:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "logto",
|
"id": "logto",
|
||||||
"name": "Logto",
|
"name": "Logto",
|
||||||
"version": "1.41.0",
|
"version": "1.27.0",
|
||||||
"description": "Logto is an open-source Identity and Access Management (IAM) platform designed to streamline Customer Identity and Access Management (CIAM) and Workforce Identity Management.",
|
"description": "Logto is an open-source Identity and Access Management (IAM) platform designed to streamline Customer Identity and Access Management (CIAM) and Workforce Identity Management.",
|
||||||
"logo": "logto.png",
|
"logo": "logto.png",
|
||||||
"links": {
|
"links": {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[variables]
|
[variables]
|
||||||
main_domain = "${domain}"
|
main_domain = "${domain}"
|
||||||
admin_domain = "${domain}"
|
admin_domain = "${domain}"
|
||||||
postgres_password = "${password:32}"
|
postgres_password = "${password}"
|
||||||
|
|
||||||
[config]
|
[config]
|
||||||
mounts = []
|
mounts = []
|
||||||
@@ -17,6 +17,6 @@ port = 3_002
|
|||||||
host = "${admin_domain}"
|
host = "${admin_domain}"
|
||||||
|
|
||||||
[config.env]
|
[config.env]
|
||||||
LOGTO_ENDPOINT = "http://${main_domain}"
|
LOGTO_ENDPOINT = "http://${admin_domain}"
|
||||||
LOGTO_ADMIN_ENDPOINT = "http://${admin_domain}"
|
LOGTO_ADMIN_ENDPOINT = "http://${admin_domain}"
|
||||||
LOGTO_POSTGRES_PASSWORD = "${postgres_password}"
|
LOGTO_POSTGRES_PASSWORD = "${postgres_password}"
|
||||||
|
|||||||
Reference in New Issue
Block a user