fix: gitea workflows, docker-compose.yml y Dockerfile
This commit is contained in:
+9
-2
@@ -1,13 +1,13 @@
|
||||
services:
|
||||
# ─── EnFlow Next.js App ──────────────────────────────────────────────────
|
||||
cirux-app:
|
||||
cirux:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
- NEXT_PUBLIC_SUPABASE_URL=${NEXT_PUBLIC_SUPABASE_URL}
|
||||
- NEXT_PUBLIC_SUPABASE_ANON_KEY=${NEXT_PUBLIC_SUPABASE_ANON_KEY}
|
||||
container_name: cirux-app
|
||||
container_name: cirux
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
@@ -15,9 +15,16 @@ services:
|
||||
- NODE_ENV=production
|
||||
ports:
|
||||
- "127.0.0.1:3020:3020"
|
||||
network:
|
||||
- gitea-network
|
||||
healthcheck:
|
||||
test: ["CMD", "node", "-e", "require('http').get('http://localhost:3020/api/health', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)})"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
|
||||
|
||||
networks:
|
||||
gitea-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user