fix
This commit is contained in:
@@ -11,4 +11,4 @@ RUN chmod +x ./entrypoint.sh
|
||||
RUN curl -fLo install.sh https://raw.githubusercontent.com/cosmtrek/air/master/install.sh \
|
||||
&& chmod +x install.sh && sh install.sh && cp ./bin/air /bin/air
|
||||
|
||||
CMD "./entrypoint.sh"
|
||||
CMD ["./entrypoint.sh"]
|
||||
|
||||
+4
-2
@@ -117,8 +117,10 @@ services:
|
||||
- /app/node_modules
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.frontend.rule=Host(`${WEBAPP_DOMAIN}`) && PathPrefix(`/`) && PathPrefixStrip(`/api`)==false"
|
||||
- "traefik.http.routers.frontend.rule=Host(`${WEBAPP_DOMAIN}`)"
|
||||
- "traefik.http.routers.frontend.entrypoints=web"
|
||||
- "traefik.http.routers.frontend.middlewares=frontend-stripprefix@docker"
|
||||
- "traefik.http.middlewares.frontend-stripprefix.stripprefix.prefixes=/api"
|
||||
- "traefik.http.services.frontend.loadbalancer.server.port=3000"
|
||||
- "traefik.docker.network=proxy"
|
||||
networks:
|
||||
@@ -142,7 +144,7 @@ services:
|
||||
condition: service_healthy
|
||||
volumes:
|
||||
- ./data/softwares:/softwares
|
||||
- ./:/app
|
||||
- ./apps/catalog:/app
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.catalog.rule=Host(`${WEBAPP_DOMAIN}`) && PathPrefix(`/api`)"
|
||||
|
||||
Reference in New Issue
Block a user