upd
All checks were successful
Deploy Frontend / deploy (push) Successful in 40s

This commit is contained in:
Oscar
2026-06-04 15:45:16 +03:00
parent 0a203d971e
commit 17cb1128a6
3 changed files with 5 additions and 5 deletions

View File

@@ -41,5 +41,5 @@ jobs:
--label "traefik.http.routers.tmc-backend.entrypoints=websecure" \
--label "traefik.http.routers.tmc-backend.tls=true" \
--label "traefik.http.routers.tmc-backend.tls.certresolver=myresolver" \
--label "traefik.http.middlewares.tmc-backend-strip.stripprefix.prefixes=/test-1" \
# --label "traefik.http.middlewares.tmc-backend-strip.stripprefix.prefixes=/test-1" \
tmc-backend:latest

View File

@@ -10,7 +10,7 @@ const options: swaggerJsdoc.Options = {
version: '1.0.0',
description: 'API for managing items with selection and ordering',
},
servers: [{ url: 'http://localhost:1337' }],
// servers: [{ url: 'http://localhost:1337' }],
},
apis: ['./src/routes/*.ts'],
}

View File

@@ -8,9 +8,6 @@ RUN pnpm install --frozen-lockfile --ignore-scripts
COPY . .
ARG API_BASE=https://api.koptinlya.xyz/test-1/
ENV API_BASE=$API_BASE
RUN pnpm exec nuxt generate
FROM nginx:stable-alpine
@@ -18,4 +15,7 @@ COPY --from=builder /app/.output/public /usr/share/nginx/html
EXPOSE 80
ARG API_BASE=https://api.koptilnya.xyz/test-1/
ENV API_BASE=$API_BASE
CMD ["nginx", "-g", "daemon off;"]