| 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 |
mariushosting / lyftr.yaml
Last active 2 months ago