mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-04-15 00:17:12 +08:00
feat: update metamcp v2.4.6
This commit is contained in:
@@ -1,33 +1,24 @@
|
||||
version: "3"
|
||||
version: '3'
|
||||
services:
|
||||
app:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
image: ghcr.io/metatool-ai/metamcp:2.4.5
|
||||
image: ghcr.io/metatool-ai/metamcp:v2.4.6
|
||||
pull_policy: always
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:12008"
|
||||
- ${PANEL_APP_PORT_HTTP}:12008
|
||||
environment:
|
||||
# Postgres connection details
|
||||
POSTGRES_HOST: postgres
|
||||
POSTGRES_PORT: 5432
|
||||
POSTGRES_USER: ${POSTGRES_USER}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
POSTGRES_DB: ${POSTGRES_DB}
|
||||
|
||||
# Database configuration (composed from above vars)
|
||||
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}
|
||||
|
||||
# Application URL configuration
|
||||
APP_URL: ${APP_URL}
|
||||
NEXT_PUBLIC_APP_URL: ${NEXT_PUBLIC_APP_URL}
|
||||
|
||||
# Auth configuration
|
||||
BETTER_AUTH_SECRET: ${BETTER_AUTH_SECRET}
|
||||
|
||||
# Docker networking fix
|
||||
TRANSFORM_LOCALHOST_TO_DOCKER_INTERNAL: ${TRANSFORM_LOCALHOST_TO_DOCKER_INTERNAL}
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
- host.docker.internal:host-gateway
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
@@ -37,8 +28,7 @@ services:
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
createdBy: Apps
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
container_name: ${CONTAINER_NAME}-pg
|
||||
@@ -50,7 +40,9 @@ services:
|
||||
volumes:
|
||||
- ./data/postgres:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
@@ -58,8 +50,7 @@ services:
|
||||
networks:
|
||||
- 1panel-network
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
createdBy: Apps
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user