Refactored.
This commit is contained in:
parent
f4a49ad4b9
commit
9dad75464b
37 changed files with 667 additions and 247 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# Use external network from infrastructure
|
||||
networks:
|
||||
maple-dev:
|
||||
mapleopentech-dev:
|
||||
external: true
|
||||
|
||||
services:
|
||||
|
|
@ -41,7 +41,7 @@ services:
|
|||
|
||||
# Meilisearch Configuration (if needed)
|
||||
MEILISEARCH_HOST: ${MEILISEARCH_HOST:-http://meilisearch:7700}
|
||||
MEILISEARCH_API_KEY: ${MEILISEARCH_API_KEY:-maple-dev-master-key-change-in-production}
|
||||
MEILISEARCH_API_KEY: ${MEILISEARCH_API_KEY:-mapleopentech-dev-master-key-change-in-production}
|
||||
|
||||
# S3 Configuration (SeaweedFS - S3-compatible storage)
|
||||
AWS_ACCESS_KEY: ${AWS_ACCESS_KEY:-any}
|
||||
|
|
@ -63,10 +63,18 @@ services:
|
|||
volumes:
|
||||
- ./:/go/src/codeberg.org/mapleopentech/monorepo/cloud/maplepress-backend
|
||||
networks:
|
||||
- maple-dev
|
||||
- mapleopentech-dev
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "-H", "X-Tenant-ID: healthcheck", "http://localhost:${SERVER_PORT:-8000}/health"]
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"curl",
|
||||
"-f",
|
||||
"-H",
|
||||
"X-Tenant-ID: healthcheck",
|
||||
"http://localhost:${SERVER_PORT:-8000}/health",
|
||||
]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue