mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-21 07:22:53 +08:00
removed unecessary volume maping in prod as it leads to errors
This commit is contained in:
parent
886921b027
commit
67ba566716
3 changed files with 3 additions and 12 deletions
|
@ -42,8 +42,10 @@ CMD ["gunicorn", "felicity.main:felicity", "--bind", "0.0.0.0:8000", "--workers"
|
|||
FROM nginx:latest AS nginx-static
|
||||
RUN mkdir /app
|
||||
COPY --from=webapp-build /app/dist /app
|
||||
|
||||
COPY ./services/nginx/static/default.conf.template /etc/nginx/templates/default.conf.template
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
||||
FROM caddy:2-alpine AS caddy-static
|
||||
RUN mkdir /app
|
||||
COPY --from=webapp-build /app/dist /app
|
||||
COPY ./services/caddy/static/Caddyfile /etc/caddy/Caddyfile
|
||||
|
|
|
@ -70,8 +70,6 @@ services:
|
|||
MINIO_SERVER: felicity-minio:9000
|
||||
MINIO_ACCESS: felicity
|
||||
MINIO_SECRET: felicity
|
||||
volumes:
|
||||
- ./felicity:/app/felicity
|
||||
ports:
|
||||
- 8000:8000
|
||||
networks:
|
||||
|
@ -94,7 +92,6 @@ services:
|
|||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- ./services/caddy/static/Caddyfile:/etc/caddy/Caddyfile
|
||||
- ./caddy.data:/data
|
||||
- ./caddy.config:/config
|
||||
environment:
|
||||
|
@ -120,8 +117,6 @@ services:
|
|||
PROXY_BACKEND: felicity-api
|
||||
PROXY_PORT: 8000
|
||||
SERVER_HOST: ${SERVER_HOST}
|
||||
volumes:
|
||||
- ./services/nginx/static/:/etc/nginx/templates/
|
||||
depends_on:
|
||||
- felicity-api
|
||||
networks:
|
||||
|
@ -147,8 +142,6 @@ services:
|
|||
MINIO_SERVER: felicity-minio:9000
|
||||
MINIO_ACCESS: felicity
|
||||
MINIO_SECRET: felicity
|
||||
volumes:
|
||||
- ./felicity:/app/felicity
|
||||
ports:
|
||||
- 8000:8000
|
||||
networks:
|
||||
|
@ -252,5 +245,3 @@ services:
|
|||
READONLY_mg: 1
|
||||
networks:
|
||||
- felicitynet
|
||||
|
||||
|
||||
|
|
|
@ -24,8 +24,6 @@ services:
|
|||
PROXY_BACKEND: felicity-api
|
||||
PROXY_PORT: 8000
|
||||
SERVER_HOST: ${SERVER_HOST}
|
||||
volumes:
|
||||
- ./services/nginx/static/:/etc/nginx/templates/
|
||||
depends_on:
|
||||
- felicity-api
|
||||
networks:
|
||||
|
|
Loading…
Reference in a new issue