Skip to content

Commit 21e8f7c

Browse files
authored
Merge pull request #197 from maevsi/fix/vibetype/content-socket
fix(vibetype): account for nuxt content's websocket
2 parents f1ab700 + 96b63f4 commit 21e8f7c

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

src/development/stack.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@ services:
401401
- --api=true
402402
- --entryPoints.web.address=:80
403403
- --entryPoints.web-secure.address=:443
404+
- --entryPoints.nuxt-content-websocket.address=:4000 #DARGSTACK-REMOVE
404405
- --providers.swarm=true
405406
- --providers.swarm.endpoint=unix:///var/run/docker.sock
406407
- --providers.swarm.exposedByDefault=false
@@ -434,6 +435,10 @@ services:
434435
protocol: tcp #DARGSTACK-REMOVE
435436
published: 443 #DARGSTACK-REMOVE
436437
target: 443 #DARGSTACK-REMOVE
438+
- mode: host #DARGSTACK-REMOVE
439+
protocol: tcp #DARGSTACK-REMOVE
440+
published: 4000 #DARGSTACK-REMOVE
441+
target: 4000 #DARGSTACK-REMOVE
437442
volumes:
438443
- /var/run/docker.sock:/var/run/docker.sock
439444
- ./certificates/:/etc/traefik/acme/
@@ -472,11 +477,18 @@ services:
472477
- traefik.http.routers.vibetype.entryPoints=web
473478
- traefik.http.routers.vibetype.middlewares=redirectscheme #DARGSTACK-REMOVE
474479
- traefik.http.routers.vibetype.rule=Host(`${STACK_DOMAIN}`) || Host(`www.${STACK_DOMAIN}`)
480+
- traefik.http.routers.vibetype.service=vibetype #DARGSTACK-REMOVE
481+
- traefik.http.routers.vibetype_content_secure.entryPoints=nuxt-content-websocket #DARGSTACK-REMOVE
482+
- traefik.http.routers.vibetype_content_secure.rule=Host(`${STACK_DOMAIN}`) || Host(`www.${STACK_DOMAIN}`) #DARGSTACK-REMOVE
483+
- traefik.http.routers.vibetype_content_secure.service=vibetype_content #DARGSTACK-REMOVE
484+
- traefik.http.routers.vibetype_content_secure.tls.options=mintls13@file #DARGSTACK-REMOVE
475485
- traefik.http.routers.vibetype_secure.entryPoints=web-secure
476486
- traefik.http.routers.vibetype_secure.middlewares=vibetype_cors,vibetype_redirectregex
477487
- traefik.http.routers.vibetype_secure.rule=Host(`${STACK_DOMAIN}`) || Host(`www.${STACK_DOMAIN}`)
488+
- traefik.http.routers.vibetype_secure.service=vibetype #DARGSTACK-REMOVE
478489
- traefik.http.routers.vibetype_secure.tls.options=mintls13@file #DARGSTACK-REMOVE
479490
- traefik.http.services.vibetype.loadbalancer.server.port=3000
491+
- traefik.http.services.vibetype_content.loadbalancer.server.port=4000 #DARGSTACK-REMOVE
480492
environment:
481493
AWS_REGION: ${VIBETYPE_AWS_REGION}
482494
CONSOLA_LEVEL: 4 # debug #DARGSTACK-REMOVE

0 commit comments

Comments
 (0)