mariushosting revisou este gist 15 hours ago. Ir para a revisão
1 file changed, 1 insertion, 1 deletion
lyftr.yaml
| @@ -13,7 +13,7 @@ services: | |||
| 13 | 13 | ENV: production | |
| 14 | 14 | PORT: 3008 | |
| 15 | 15 | JWT_SECRET: dOxZYTTZgXKMHkqLBIQVImayQXAVWdzGBPuFJKggzcgvgPJPXpWzqzKaUOIOGGIr | |
| 16 | - | CORS_ORIGIN: http://localhost or your DDNS or domain name with https:// at the beginning | |
| 16 | + | CORS_ORIGIN: http://localhost #or your DDNS or domain name with https:// at the beginning | |
| 17 | 17 | DB_TYPE: sqlite | |
| 18 | 18 | DB_PATH: /app/data/lyftr.db | |
| 19 | 19 | ports: | |
mariushosting revisou este gist 16 hours ago. Ir para a revisão
1 file changed, 31 insertions
lyftr.yaml(arquivo criado)
| @@ -0,0 +1,31 @@ | |||
| 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 | |