mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:21:10 +02:00
fix(docker): remove picture-backend from compose (replaced by Hono server)
This commit is contained in:
parent
a60e5f8105
commit
e94a41348d
1 changed files with 3 additions and 43 deletions
|
|
@ -1194,66 +1194,26 @@ services:
|
|||
retries: 3
|
||||
start_period: 45s
|
||||
|
||||
picture-backend:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: apps/picture/apps/backend/Dockerfile
|
||||
image: picture-backend:local
|
||||
container_name: mana-app-picture-backend
|
||||
restart: always
|
||||
depends_on:
|
||||
mana-auth:
|
||||
condition: service_healthy
|
||||
minio:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
PORT: 3035
|
||||
DATABASE_URL: postgresql://postgres:${POSTGRES_PASSWORD:-mana123}@postgres:5432/picture
|
||||
DB_HOST: postgres
|
||||
DB_PORT: 5432
|
||||
DB_USER: postgres
|
||||
MANA_CORE_AUTH_URL: http://mana-auth:3001
|
||||
REPLICATE_API_TOKEN: ${REPLICATE_API_TOKEN}
|
||||
IMAGE_GEN_SERVICE_URL: ${IMAGE_GEN_SERVICE_URL:-http://192.168.178.11:3023}
|
||||
APP_ID: picture-app
|
||||
MANA_CORE_SERVICE_KEY: ${MANA_CORE_SERVICE_KEY}
|
||||
S3_ENDPOINT: http://minio:9000
|
||||
S3_PUBLIC_ENDPOINT: https://minio.mana.how
|
||||
S3_REGION: us-east-1
|
||||
S3_ACCESS_KEY: ${MINIO_ACCESS_KEY:-minioadmin}
|
||||
S3_SECRET_KEY: ${MINIO_SECRET_KEY:-minioadmin}
|
||||
S3_BUCKET: picture-storage
|
||||
CORS_ORIGINS: https://picture.mana.how,https://mana.how
|
||||
ports:
|
||||
- "3035:3035"
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:3035/health"]
|
||||
interval: 120s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 55s
|
||||
# picture-backend: REMOVED — replaced by Hono server (apps/picture/apps/server)
|
||||
|
||||
picture-web:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: apps/picture/apps/web/Dockerfile
|
||||
args:
|
||||
PUBLIC_BACKEND_URL: http://picture-backend:3035
|
||||
PUBLIC_MANA_CORE_AUTH_URL: http://mana-auth:3001
|
||||
image: picture-web:local
|
||||
container_name: mana-app-picture-web
|
||||
restart: always
|
||||
depends_on:
|
||||
picture-backend:
|
||||
mana-auth:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
PORT: 5021
|
||||
PUBLIC_BACKEND_URL: http://picture-backend:3035
|
||||
PUBLIC_MANA_CORE_AUTH_URL: http://mana-auth:3001
|
||||
PUBLIC_BACKEND_URL_CLIENT: https://picture-api.mana.how
|
||||
PUBLIC_MANA_CORE_AUTH_URL_CLIENT: https://auth.mana.how
|
||||
PUBLIC_SYNC_SERVER_URL: ws://mana-core-sync:3010
|
||||
ports:
|
||||
- "5021:5021"
|
||||
healthcheck:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue