This commit is contained in:
@@ -41,5 +41,5 @@ jobs:
|
|||||||
--label "traefik.http.routers.tmc-backend.entrypoints=websecure" \
|
--label "traefik.http.routers.tmc-backend.entrypoints=websecure" \
|
||||||
--label "traefik.http.routers.tmc-backend.tls=true" \
|
--label "traefik.http.routers.tmc-backend.tls=true" \
|
||||||
--label "traefik.http.routers.tmc-backend.tls.certresolver=myresolver" \
|
--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
|
tmc-backend:latest
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ const options: swaggerJsdoc.Options = {
|
|||||||
version: '1.0.0',
|
version: '1.0.0',
|
||||||
description: 'API for managing items with selection and ordering',
|
description: 'API for managing items with selection and ordering',
|
||||||
},
|
},
|
||||||
servers: [{ url: 'http://localhost:1337' }],
|
// servers: [{ url: 'http://localhost:1337' }],
|
||||||
},
|
},
|
||||||
apis: ['./src/routes/*.ts'],
|
apis: ['./src/routes/*.ts'],
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,9 +8,6 @@ RUN pnpm install --frozen-lockfile --ignore-scripts
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
ARG API_BASE=https://api.koptinlya.xyz/test-1/
|
|
||||||
ENV API_BASE=$API_BASE
|
|
||||||
|
|
||||||
RUN pnpm exec nuxt generate
|
RUN pnpm exec nuxt generate
|
||||||
|
|
||||||
FROM nginx:stable-alpine
|
FROM nginx:stable-alpine
|
||||||
@@ -18,4 +15,7 @@ COPY --from=builder /app/.output/public /usr/share/nginx/html
|
|||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
|
ARG API_BASE=https://api.koptilnya.xyz/test-1/
|
||||||
|
ENV API_BASE=$API_BASE
|
||||||
|
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
|
|||||||
Reference in New Issue
Block a user