lyftr.yaml
· 844 B · YAML
Bruto
services:
backend:
image: cwlumm/lyftr-backend:latest
container_name: Lyftr-BACK
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:3008/health"]
interval: 30s
timeout: 10s
retries: 3
volumes:
- /volume1/docker/lyftr/:/app/data:rw
environment:
ENV: production
PORT: 3008
JWT_SECRET: dOxZYTTZgXKMHkqLBIQVImayQXAVWdzGBPuFJKggzcgvgPJPXpWzqzKaUOIOGGIr
CORS_ORIGIN: http://localhost #or your DDNS or domain name with https:// at the beginning
DB_TYPE: sqlite
DB_PATH: /app/data/lyftr.db
ports:
- 3008:3008
restart: on-failure:5
frontend:
image: cwlumm/lyftr-frontend:latest
container_name: Lyftr-FRONT
ports:
- 3011:80
depends_on:
backend:
condition: service_healthy
restart: on-failure:5
| 1 | services: |
| 2 | backend: |
| 3 | image: cwlumm/lyftr-backend:latest |
| 4 | container_name: Lyftr-BACK |
| 5 | healthcheck: |
| 6 | test: ["CMD", "wget", "-qO-", "http://localhost:3008/health"] |
| 7 | interval: 30s |
| 8 | timeout: 10s |
| 9 | retries: 3 |
| 10 | volumes: |
| 11 | - /volume1/docker/lyftr/:/app/data:rw |
| 12 | environment: |
| 13 | ENV: production |
| 14 | PORT: 3008 |
| 15 | JWT_SECRET: dOxZYTTZgXKMHkqLBIQVImayQXAVWdzGBPuFJKggzcgvgPJPXpWzqzKaUOIOGGIr |
| 16 | CORS_ORIGIN: http://localhost #or your DDNS or domain name with https:// at the beginning |
| 17 | DB_TYPE: sqlite |
| 18 | DB_PATH: /app/data/lyftr.db |
| 19 | ports: |
| 20 | - 3008:3008 |
| 21 | restart: on-failure:5 |
| 22 | |
| 23 | frontend: |
| 24 | image: cwlumm/lyftr-frontend:latest |
| 25 | container_name: Lyftr-FRONT |
| 26 | ports: |
| 27 | - 3011:80 |
| 28 | depends_on: |
| 29 | backend: |
| 30 | condition: service_healthy |
| 31 | restart: on-failure:5 |