Skip to content

Commit d48bc9f

Browse files
authored
Merge pull request #199 from maevsi/feat/upload/rework
feat!: rework upload
2 parents b113650 + de3ed1a commit d48bc9f

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

src/development/stack.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ services:
445445
- ./configurations/traefik/dynamic.yml:/dynamic.yml:ro #DARGSTACK-REMOVE
446446
tusd:
447447
# You can access the upload service at [tusd.localhost](https://tusd.localhost/).
448-
command: -behind-proxy --hooks-enabled-events pre-create,pre-finish,post-terminate --hooks-http http://vibetype:3000/api/service/tusd -max-size ${TUSD_MAX_SIZE} -s3-bucket ${TUSD_BUCKET} -s3-endpoint ${TUSD_ENDPOINT}
448+
command: -behind-proxy --hooks-enabled-events pre-create,pre-finish,pre-terminate --hooks-http http://vibetype:3000/api/internal/service/tusd -max-size ${TUSD_MAX_SIZE} -s3-bucket ${TUSD_BUCKET} -s3-endpoint ${TUSD_ENDPOINT}
449449
deploy:
450450
labels:
451451
- traefik.enable=true
@@ -476,15 +476,15 @@ services:
476476
- traefik.http.middlewares.vibetype_redirectregex.redirectregex.replacement=https://${STACK_DOMAIN}/$${2}
477477
- traefik.http.routers.vibetype.entryPoints=web
478478
- traefik.http.routers.vibetype.middlewares=redirectscheme #DARGSTACK-REMOVE
479-
- traefik.http.routers.vibetype.rule=Host(`${STACK_DOMAIN}`) || Host(`www.${STACK_DOMAIN}`)
479+
- traefik.http.routers.vibetype.rule=(Host(`${STACK_DOMAIN}`) || Host(`www.${STACK_DOMAIN}`)) && !PathPrefix(`/api/internal`)
480480
- traefik.http.routers.vibetype.service=vibetype #DARGSTACK-REMOVE
481481
- 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
482+
- traefik.http.routers.vibetype_content_secure.rule=(Host(`${STACK_DOMAIN}`) || Host(`www.${STACK_DOMAIN}`)) && !PathPrefix(`/api/internal`) #DARGSTACK-REMOVE
483483
- traefik.http.routers.vibetype_content_secure.service=vibetype_content #DARGSTACK-REMOVE
484484
- traefik.http.routers.vibetype_content_secure.tls.options=mintls13@file #DARGSTACK-REMOVE
485485
- traefik.http.routers.vibetype_secure.entryPoints=web-secure
486486
- traefik.http.routers.vibetype_secure.middlewares=vibetype_cors,vibetype_redirectregex
487-
- traefik.http.routers.vibetype_secure.rule=Host(`${STACK_DOMAIN}`) || Host(`www.${STACK_DOMAIN}`)
487+
- traefik.http.routers.vibetype_secure.rule=(Host(`${STACK_DOMAIN}`) || Host(`www.${STACK_DOMAIN}`)) && !PathPrefix(`/api/internal`)
488488
- traefik.http.routers.vibetype_secure.service=vibetype #DARGSTACK-REMOVE
489489
- traefik.http.routers.vibetype_secure.tls.options=mintls13@file #DARGSTACK-REMOVE
490490
- traefik.http.services.vibetype.loadbalancer.server.port=3000

src/production/configurations/debezium-postgres-connector/entrypoint.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,9 @@ elif [ "$HTTP_STATUS" -eq 404 ]; then
3333
"database.dbname": "'"$POSTGRES_DB"'",
3434
"database.hostname": "postgres",
3535
"database.password": "'"$POSTGRES_PASSWORD"'",
36-
"database.port": "5432",
37-
"database.server.name": "postgres",
3836
"database.user": "'"$POSTGRES_USER"'",
3937
"plugin.name": "pgoutput",
38+
"table.include.list": "vibetype.upload,vibetype_private.notification",
4039
"topic.prefix" : "vibetype"
4140
}
4241
}'

src/production/production.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ services:
8282
image: ghcr.io/maevsi/reccoom:0.1.0
8383
volumes: (( prune ))
8484
sqitch:
85-
image: ghcr.io/maevsi/sqitch:7.0.1
85+
image: ghcr.io/maevsi/sqitch:8.0.0-beta.8
8686
volumes: (( prune ))
8787
traefik:
8888
command:
@@ -128,7 +128,7 @@ services:
128128
- (( append ))
129129
- traefik.http.routers.vibetype.middlewares=vibetype_cors,vibetype_redirectregex
130130
- traefik.http.routers.vibetype_secure.tls.certresolver=default
131-
image: ghcr.io/maevsi/vibetype:11.0.0-beta.2
131+
image: ghcr.io/maevsi/vibetype:11.0.0-beta.4
132132
user: (( prune ))
133133
# vibetype_beta:
134134
# # You can access the main project frontend's beta version at [beta.localhost](https://beta.localhost/).

0 commit comments

Comments
 (0)