Skip to content

Commit 8149bd0

Browse files
authored
Merge pull request #194 from maevsi/feat/vibetype-beta/disable
feat(vibetype-beta)!: disable
2 parents 881738b + f46055e commit 8149bd0

File tree

2 files changed

+42
-46
lines changed

2 files changed

+42
-46
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -250,10 +250,6 @@ This project is deployed in accordance to the [DargStack template](https://githu
250250

251251
You can access the main project's frontend at [localhost](https://localhost/).
252252

253-
- ### `vibetype_beta` ![production](https://img.shields.io/badge/-production-informational.svg?style=flat-square)
254-
255-
You can access the main project frontend's beta version at [beta.localhost](https://beta.localhost/).
256-
257253

258254
## volumes
259255

src/production/production.yml

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -129,48 +129,48 @@ services:
129129
- traefik.http.routers.vibetype_secure.tls.certresolver=default
130130
image: ghcr.io/maevsi/vibetype:10.17.0
131131
user: (( prune ))
132-
vibetype_beta:
133-
# You can access the main project frontend's beta version at [beta.localhost](https://beta.localhost/).
134-
deploy:
135-
labels:
136-
- traefik.enable=true
137-
- traefik.http.routers.vibetype_beta.entryPoints=web
138-
- traefik.http.routers.vibetype_beta.middlewares=vibetype_cors,vibetype_redirectregex
139-
- traefik.http.routers.vibetype_beta.rule=Host(`beta.${STACK_DOMAIN}`)
140-
- traefik.http.routers.vibetype_beta_secure.entryPoints=web-secure
141-
- traefik.http.routers.vibetype_beta_secure.middlewares=vibetype_cors,vibetype_redirectregex
142-
- traefik.http.routers.vibetype_beta_secure.rule=Host(`beta.${STACK_DOMAIN}`)
143-
- traefik.http.services.vibetype_beta.loadbalancer.server.port=3000
144-
- traefik.http.routers.vibetype_beta_secure.tls.certresolver=default
145-
environment:
146-
AWS_REGION: ${VIBETYPE_AWS_REGION}
147-
NUXT_PUBLIC_GTAG_ID: ${VIBETYPE_NUXT_PUBLIC_GTAG_ID}
148-
NUXT_PUBLIC_I18N_BASE_URL: https://${STACK_DOMAIN}
149-
NUXT_PUBLIC_SITE_URL: https://${STACK_DOMAIN}
150-
NUXT_PUBLIC_TURNSTILE_SITE_KEY: ${VIBETYPE_NUXT_PUBLIC_TURNSTILE_SITE_KEY}
151-
NUXT_PUBLIC_VIBETYPE_EMAIL_LIMIT24H: ${VIBETYPE_NUXT_PUBLIC_VIBETYPE_EMAIL_LIMIT24H}
152-
NUXT_PUBLIC_VIO_ENVIRONMENT: beta
153-
PGHOST: ${VIBETYPE_PGHOST}
154-
image: ghcr.io/maevsi/vibetype:10.17.0
155-
secrets:
156-
- source: vibetype_api-notification-secret
157-
target: /run/environment-variables/NUXT_PRIVATE_API_NOTIFICATION_SECRET
158-
- source: vibetype_aws-credentials
159-
target: /home/node/.aws/credentials # TODO: switch to user `node`
160-
- source: vibetype_firebase-service-account-credentials
161-
target: /run/environment-variables/FIREBASE_SERVICE_ACCOUNT_CREDENTIALS
162-
- source: vibetype_openai-api-key
163-
target: /run/environment-variables/NUXT_PRIVATE_OPENAI_API_KEY
164-
- source: vibetype_turnstile-key
165-
target: /run/environment-variables/NUXT_TURNSTILE_SECRET_KEY
166-
- source: postgres_db
167-
target: /run/environment-variables/PGDATABASE
168-
- source: postgres_role_service_vibetype_password
169-
target: /run/environment-variables/PGPASSWORD
170-
- source: postgres_role_service_vibetype_username
171-
target: /run/environment-variables/PGUSER
172-
volumes:
173-
- ./configurations/postgraphile/jwtRS256.key.pub:/run/environment-variables/NUXT_PUBLIC_VIO_AUTH_JWT_PUBLIC_KEY:ro
132+
# vibetype_beta:
133+
# # You can access the main project frontend's beta version at [beta.localhost](https://beta.localhost/).
134+
# deploy:
135+
# labels:
136+
# - traefik.enable=true
137+
# - traefik.http.routers.vibetype_beta.entryPoints=web
138+
# - traefik.http.routers.vibetype_beta.middlewares=vibetype_cors,vibetype_redirectregex
139+
# - traefik.http.routers.vibetype_beta.rule=Host(`beta.${STACK_DOMAIN}`)
140+
# - traefik.http.routers.vibetype_beta_secure.entryPoints=web-secure
141+
# - traefik.http.routers.vibetype_beta_secure.middlewares=vibetype_cors,vibetype_redirectregex
142+
# - traefik.http.routers.vibetype_beta_secure.rule=Host(`beta.${STACK_DOMAIN}`)
143+
# - traefik.http.services.vibetype_beta.loadbalancer.server.port=3000
144+
# - traefik.http.routers.vibetype_beta_secure.tls.certresolver=default
145+
# environment:
146+
# AWS_REGION: ${VIBETYPE_AWS_REGION}
147+
# NUXT_PUBLIC_GTAG_ID: ${VIBETYPE_NUXT_PUBLIC_GTAG_ID}
148+
# NUXT_PUBLIC_I18N_BASE_URL: https://${STACK_DOMAIN}
149+
# NUXT_PUBLIC_SITE_URL: https://${STACK_DOMAIN}
150+
# NUXT_PUBLIC_TURNSTILE_SITE_KEY: ${VIBETYPE_NUXT_PUBLIC_TURNSTILE_SITE_KEY}
151+
# NUXT_PUBLIC_VIBETYPE_EMAIL_LIMIT24H: ${VIBETYPE_NUXT_PUBLIC_VIBETYPE_EMAIL_LIMIT24H}
152+
# NUXT_PUBLIC_VIO_ENVIRONMENT: beta
153+
# PGHOST: ${VIBETYPE_PGHOST}
154+
# image: ghcr.io/maevsi/vibetype:10.17.0
155+
# secrets:
156+
# - source: vibetype_api-notification-secret
157+
# target: /run/environment-variables/NUXT_PRIVATE_API_NOTIFICATION_SECRET
158+
# - source: vibetype_aws-credentials
159+
# target: /home/node/.aws/credentials # TODO: switch to user `node`
160+
# - source: vibetype_firebase-service-account-credentials
161+
# target: /run/environment-variables/FIREBASE_SERVICE_ACCOUNT_CREDENTIALS
162+
# - source: vibetype_openai-api-key
163+
# target: /run/environment-variables/NUXT_PRIVATE_OPENAI_API_KEY
164+
# - source: vibetype_turnstile-key
165+
# target: /run/environment-variables/NUXT_TURNSTILE_SECRET_KEY
166+
# - source: postgres_db
167+
# target: /run/environment-variables/PGDATABASE
168+
# - source: postgres_role_service_vibetype_password
169+
# target: /run/environment-variables/PGPASSWORD
170+
# - source: postgres_role_service_vibetype_username
171+
# target: /run/environment-variables/PGUSER
172+
# volumes:
173+
# - ./configurations/postgraphile/jwtRS256.key.pub:/run/environment-variables/NUXT_PUBLIC_VIO_AUTH_JWT_PUBLIC_KEY:ro
174174
version: "3.7"
175175
volumes:
176176
acme_data:

0 commit comments

Comments
 (0)