cc9a24d6d6
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
38 lines
879 B
YAML
38 lines
879 B
YAML
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:
|