Plan Done, Dockerization and cleanup
Build & Push Docker Images / test-backend (push) Successful in 55s
Build & Push Docker Images / test-frontend (push) Successful in 43s
Run Tests / test-backend (push) Successful in 48s
Run Tests / test-frontend (push) Successful in 42s
Build & Push Docker Images / build-backend (push) Failing after 4m7s
Build & Push Docker Images / build-frontend (push) Failing after 32s

This commit is contained in:
Antoni Nuñez Romeu
2026-05-19 18:16:28 +02:00
parent 93ec8e6a6c
commit cc9a24d6d6
18 changed files with 666 additions and 101 deletions
+37
View File
@@ -0,0 +1,37 @@
services:
redis:
image: redis:alpine
restart: unless-stopped
backend:
image: git.hacecalor.net/ichitux/farmafinder-backend:latest
build: ./backend
restart: unless-stopped
ports:
- "3001:3001"
environment:
PORT: "3001"
NODE_ENV: production
SESSION_SECRET: ${SESSION_SECRET:-change-me-in-production}
CORS_ORIGIN: http://localhost:3000
REDIS_HOST: redis
REDIS_PORT: "6379"
REDIS_PASSWORD: ${REDIS_PASSWORD:-}
DATABASE_PATH: /app/data/database.sqlite
FARMACIAS_WEBHOOK_URL: ${FARMACIAS_WEBHOOK_URL:-}
volumes:
- backend_data:/app/data
depends_on:
- redis
frontend:
image: git.hacecalor.net/ichitux/farmafinder-frontend:latest
build: ./frontend
restart: unless-stopped
ports:
- "3000:80"
depends_on:
- backend
volumes:
backend_data: