Skip to content

Commit

Permalink
chore: add DO Spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
evereq committed Mar 27, 2024
1 parent 6e55ac8 commit 2f73922
Show file tree
Hide file tree
Showing 32 changed files with 333 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .deploy/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ ARG WASABI_SECRET_ACCESS_KEY
ARG WASABI_REGION
ARG WASABI_SERVICE_URL
ARG WASABI_S3_BUCKET
ARG WASABI_S3_FORCE_PATH_STYLE
ARG DIGITALOCEAN_ACCESS_KEY_ID
ARG DIGITALOCEAN_SECRET_ACCESS_KEY
ARG DIGITALOCEAN_REGION
ARG DIGITALOCEAN_SERVICE_URL
ARG DIGITALOCEAN_CDN_URL
ARG DIGITALOCEAN_S3_BUCKET
ARG DIGITALOCEAN_S3_FORCE_PATH_STYLE
ARG EXPRESS_SESSION_SECRET
ARG JWT_SECRET
ARG JWT_REFRESH_TOKEN_SECRET
Expand Down Expand Up @@ -321,6 +329,14 @@ ENV WASABI_SECRET_ACCESS_KEY=${WASABI_SECRET_ACCESS_KEY}
ENV WASABI_REGION=${WASABI_REGION}
ENV WASABI_SERVICE_URL=${WASABI_SERVICE_URL}
ENV WASABI_S3_BUCKET=${WASABI_S3_BUCKET}
ENV WASABI_S3_FORCE_PATH_STYLE=${WASABI_S3_FORCE_PATH_STYLE}
ENV DIGITALOCEAN_ACCESS_KEY_ID=${DIGITALOCEAN_ACCESS_KEY_ID}
ENV DIGITALOCEAN_SECRET_ACCESS_KEY=${DIGITALOCEAN_SECRET_ACCESS_KEY}
ENV DIGITALOCEAN_REGION=${DIGITALOCEAN_REGION}
ENV DIGITALOCEAN_SERVICE_URL=${DIGITALOCEAN_SERVICE_URL}
ENV DIGITALOCEAN_CDN_URL=${DIGITALOCEAN_CDN_URL}
ENV DIGITALOCEAN_S3_BUCKET=${DIGITALOCEAN_S3_BUCKET}
ENV DIGITALOCEAN_S3_FORCE_PATH_STYLE=${DIGITALOCEAN_S3_FORCE_PATH_STYLE:-false}
ENV EXPRESS_SESSION_SECRET=${EXPRESS_SESSION_SECRET:-gauzy}
ENV JWT_SECRET=${JWT_SECRET:-secretKey}
ENV JWT_REFRESH_TOKEN_SECRET=${JWT_REFRESH_TOKEN_SECRET:-refreshSecretKey}
Expand Down
16 changes: 16 additions & 0 deletions .deploy/k8s/k8s-manifest.civo.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,22 @@ spec:
value: '$WASABI_SERVICE_URL'
- name: WASABI_S3_BUCKET
value: '$WASABI_S3_BUCKET'
- name: WASABI_S3_FORCE_PATH_STYLE
value: '$WASABI_S3_FORCE_PATH_STYLE'
- name: DIGITALOCEAN_ACCESS_KEY_ID
value: '$DIGITALOCEAN_ACCESS_KEY_ID'
- name: DIGITALOCEAN_SECRET_ACCESS_KEY
value: '$DIGITALOCEAN_SECRET_ACCESS_KEY'
- name: DIGITALOCEAN_REGION
value: '$DIGITALOCEAN_REGION'
- name: DIGITALOCEAN_SERVICE_URL
value: '$DIGITALOCEAN_SERVICE_URL'
- name: DIGITALOCEAN_CDN_URL
value: '$DIGITALOCEAN_CDN_URL'
- name: DIGITALOCEAN_S3_BUCKET
value: '$DIGITALOCEAN_S3_BUCKET'
- name: DIGITALOCEAN_S3_FORCE_PATH_STYLE
value: '$DIGITALOCEAN_S3_FORCE_PATH_STYLE'
- name: EXPRESS_SESSION_SECRET
value: '$EXPRESS_SESSION_SECRET'
- name: JWT_SECRET
Expand Down
18 changes: 18 additions & 0 deletions .deploy/k8s/k8s-manifest.civo.stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,24 @@ spec:
value: '$WASABI_SERVICE_URL'
- name: WASABI_S3_BUCKET
value: '$WASABI_S3_BUCKET'
- name: WASABI_S3_FORCE_PATH_STYLE
value: '$WASABI_S3_FORCE_PATH_STYLE'
- name: WASABI_S3_FORCE_PATH_STYLE
value: '$WASABI_S3_FORCE_PATH_STYLE'
- name: DIGITALOCEAN_ACCESS_KEY_ID
value: '$DIGITALOCEAN_ACCESS_KEY_ID'
- name: DIGITALOCEAN_SECRET_ACCESS_KEY
value: '$DIGITALOCEAN_SECRET_ACCESS_KEY'
- name: DIGITALOCEAN_REGION
value: '$DIGITALOCEAN_REGION'
- name: DIGITALOCEAN_SERVICE_URL
value: '$DIGITALOCEAN_SERVICE_URL'
- name: DIGITALOCEAN_CDN_URL
value: '$DIGITALOCEAN_CDN_URL'
- name: DIGITALOCEAN_S3_BUCKET
value: '$DIGITALOCEAN_S3_BUCKET'
- name: DIGITALOCEAN_S3_FORCE_PATH_STYLE
value: '$DIGITALOCEAN_S3_FORCE_PATH_STYLE'
- name: EXPRESS_SESSION_SECRET
value: '$EXPRESS_SESSION_SECRET'
- name: JWT_SECRET
Expand Down
16 changes: 16 additions & 0 deletions .deploy/k8s/k8s-manifest.cw.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,22 @@ spec:
value: '$WASABI_SERVICE_URL'
- name: WASABI_S3_BUCKET
value: '$WASABI_S3_BUCKET'
- name: WASABI_S3_FORCE_PATH_STYLE
value: '$WASABI_S3_FORCE_PATH_STYLE'
- name: DIGITALOCEAN_ACCESS_KEY_ID
value: '$DIGITALOCEAN_ACCESS_KEY_ID'
- name: DIGITALOCEAN_SECRET_ACCESS_KEY
value: '$DIGITALOCEAN_SECRET_ACCESS_KEY'
- name: DIGITALOCEAN_REGION
value: '$DIGITALOCEAN_REGION'
- name: DIGITALOCEAN_SERVICE_URL
value: '$DIGITALOCEAN_SERVICE_URL'
- name: DIGITALOCEAN_CDN_URL
value: '$DIGITALOCEAN_CDN_URL'
- name: DIGITALOCEAN_S3_BUCKET
value: '$DIGITALOCEAN_S3_BUCKET'
- name: DIGITALOCEAN_S3_FORCE_PATH_STYLE
value: '$DIGITALOCEAN_S3_FORCE_PATH_STYLE'
- name: EXPRESS_SESSION_SECRET
value: '$EXPRESS_SESSION_SECRET'
- name: JWT_SECRET
Expand Down
16 changes: 16 additions & 0 deletions .deploy/k8s/k8s-manifest.cw.stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,22 @@ spec:
value: '$WASABI_SERVICE_URL'
- name: WASABI_S3_BUCKET
value: '$WASABI_S3_BUCKET'
- name: WASABI_S3_FORCE_PATH_STYLE
value: '$WASABI_S3_FORCE_PATH_STYLE'
- name: DIGITALOCEAN_ACCESS_KEY_ID
value: '$DIGITALOCEAN_ACCESS_KEY_ID'
- name: DIGITALOCEAN_SECRET_ACCESS_KEY
value: '$DIGITALOCEAN_SECRET_ACCESS_KEY'
- name: DIGITALOCEAN_REGION
value: '$DIGITALOCEAN_REGION'
- name: DIGITALOCEAN_SERVICE_URL
value: '$DIGITALOCEAN_SERVICE_URL'
- name: DIGITALOCEAN_CDN_URL
value: '$DIGITALOCEAN_CDN_URL'
- name: DIGITALOCEAN_S3_BUCKET
value: '$DIGITALOCEAN_S3_BUCKET'
- name: DIGITALOCEAN_S3_FORCE_PATH_STYLE
value: '$DIGITALOCEAN_S3_FORCE_PATH_STYLE'
- name: EXPRESS_SESSION_SECRET
value: '$EXPRESS_SESSION_SECRET'
- name: JWT_SECRET
Expand Down
16 changes: 16 additions & 0 deletions .deploy/k8s/k8s-manifest.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,22 @@ spec:
value: '$WASABI_SERVICE_URL'
- name: WASABI_S3_BUCKET
value: '$WASABI_S3_BUCKET'
- name: WASABI_S3_FORCE_PATH_STYLE
value: '$WASABI_S3_FORCE_PATH_STYLE'
- name: DIGITALOCEAN_ACCESS_KEY_ID
value: '$DIGITALOCEAN_ACCESS_KEY_ID'
- name: DIGITALOCEAN_SECRET_ACCESS_KEY
value: '$DIGITALOCEAN_SECRET_ACCESS_KEY'
- name: DIGITALOCEAN_REGION
value: '$DIGITALOCEAN_REGION'
- name: DIGITALOCEAN_SERVICE_URL
value: '$DIGITALOCEAN_SERVICE_URL'
- name: DIGITALOCEAN_CDN_URL
value: '$DIGITALOCEAN_CDN_URL'
- name: DIGITALOCEAN_S3_BUCKET
value: '$DIGITALOCEAN_S3_BUCKET'
- name: DIGITALOCEAN_S3_FORCE_PATH_STYLE
value: '$DIGITALOCEAN_S3_FORCE_PATH_STYLE'
- name: EXPRESS_SESSION_SECRET
value: '$EXPRESS_SESSION_SECRET'
- name: JWT_SECRET
Expand Down
16 changes: 16 additions & 0 deletions .deploy/k8s/k8s-manifest.stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,22 @@ spec:
value: '$WASABI_SERVICE_URL'
- name: WASABI_S3_BUCKET
value: '$WASABI_S3_BUCKET'
- name: WASABI_S3_FORCE_PATH_STYLE
value: '$WASABI_S3_FORCE_PATH_STYLE'
- name: DIGITALOCEAN_ACCESS_KEY_ID
value: '$DIGITALOCEAN_ACCESS_KEY_ID'
- name: DIGITALOCEAN_SECRET_ACCESS_KEY
value: '$DIGITALOCEAN_SECRET_ACCESS_KEY'
- name: DIGITALOCEAN_REGION
value: '$DIGITALOCEAN_REGION'
- name: DIGITALOCEAN_SERVICE_URL
value: '$DIGITALOCEAN_SERVICE_URL'
- name: DIGITALOCEAN_CDN_URL
value: '$DIGITALOCEAN_CDN_URL'
- name: DIGITALOCEAN_S3_BUCKET
value: '$DIGITALOCEAN_S3_BUCKET'
- name: DIGITALOCEAN_S3_FORCE_PATH_STYLE
value: '$DIGITALOCEAN_S3_FORCE_PATH_STYLE'
- name: EXPRESS_SESSION_SECRET
value: '$EXPRESS_SESSION_SECRET'
- name: JWT_SECRET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ services:
WASABI_REGION: '${WASABI_REGION:-}'
WASABI_SERVICE_URL: '${WASABI_SERVICE_URL:-}'
WASABI_S3_BUCKET: '${WASABI_S3_BUCKET:-}'
WASABI_S3_FORCE_PATH_STYLE: '${WASABI_S3_FORCE_PATH_STYLE:-}'
DIGITALOCEAN_ACCESS_KEY_ID: '${DIGITALOCEAN_ACCESS_KEY_ID:-}'
DIGITALOCEAN_SECRET_ACCESS_KEY: '${DIGITALOCEAN_SECRET_ACCESS_KEY:-}'
DIGITALOCEAN_REGION: '${DIGITALOCEAN_REGION:-}'
DIGITALOCEAN_SERVICE_URL: '${DIGITALOCEAN_SERVICE_URL:-}'
DIGITALOCEAN_CDN_URL: '${DIGITALOCEAN_CDN_URL:-}'
DIGITALOCEAN_S3_BUCKET: '${DIGITALOCEAN_S3_BUCKET:-}'
DIGITALOCEAN_S3_FORCE_PATH_STYLE: '${DIGITALOCEAN_S3_FORCE_PATH_STYLE:-}'
EXPRESS_SESSION_SECRET: '${EXPRESS_SESSION_SECRET:-}'
JWT_SECRET: '${JWT_SECRET:-}'
JWT_REFRESH_TOKEN_SECRET: '${JWT_REFRESH_TOKEN_SECRET:-}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ services:
WASABI_REGION: '${WASABI_REGION}'
WASABI_SERVICE_URL: '${WASABI_SERVICE_URL}'
WASABI_S3_BUCKET: '${WASABI_S3_BUCKET}'
WASABI_S3_FORCE_PATH_STYLE: '${WASABI_S3_FORCE_PATH_STYLE:-}'
DIGITALOCEAN_ACCESS_KEY_ID: '${DIGITALOCEAN_ACCESS_KEY_ID:-}'
DIGITALOCEAN_SECRET_ACCESS_KEY: '${DIGITALOCEAN_SECRET_ACCESS_KEY:-}'
DIGITALOCEAN_REGION: '${DIGITALOCEAN_REGION:-}'
DIGITALOCEAN_SERVICE_URL: '${DIGITALOCEAN_SERVICE_URL:-}'
DIGITALOCEAN_CDN_URL: '${DIGITALOCEAN_CDN_URL:-}'
DIGITALOCEAN_S3_BUCKET: '${DIGITALOCEAN_S3_BUCKET:-}'
DIGITALOCEAN_S3_FORCE_PATH_STYLE: '${DIGITALOCEAN_S3_FORCE_PATH_STYLE:-}'
EXPRESS_SESSION_SECRET: '${EXPRESS_SESSION_SECRET}'
JWT_SECRET: '${JWT_SECRET}'
JWT_REFRESH_TOKEN_SECRET: '${JWT_REFRESH_TOKEN_SECRET}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ services:
WASABI_REGION: '${WASABI_REGION}'
WASABI_SERVICE_URL: '${WASABI_SERVICE_URL}'
WASABI_S3_BUCKET: '${WASABI_S3_BUCKET}'
WASABI_S3_FORCE_PATH_STYLE: '${WASABI_S3_FORCE_PATH_STYLE:-}'
DIGITALOCEAN_ACCESS_KEY_ID: '${DIGITALOCEAN_ACCESS_KEY_ID:-}'
DIGITALOCEAN_SECRET_ACCESS_KEY: '${DIGITALOCEAN_SECRET_ACCESS_KEY:-}'
DIGITALOCEAN_REGION: '${DIGITALOCEAN_REGION:-}'
DIGITALOCEAN_SERVICE_URL: '${DIGITALOCEAN_SERVICE_URL:-}'
DIGITALOCEAN_CDN_URL: '${DIGITALOCEAN_CDN_URL:-}'
DIGITALOCEAN_S3_BUCKET: '${DIGITALOCEAN_S3_BUCKET:-}'
DIGITALOCEAN_S3_FORCE_PATH_STYLE: '${DIGITALOCEAN_S3_FORCE_PATH_STYLE:-}'
EXPRESS_SESSION_SECRET: '${EXPRESS_SESSION_SECRET}'
JWT_SECRET: '${JWT_SECRET}'
JWT_REFRESH_TOKEN_SECRET: '${JWT_REFRESH_TOKEN_SECRET}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ services:
WASABI_REGION: '${WASABI_REGION:-}'
WASABI_SERVICE_URL: '${WASABI_SERVICE_URL:-}'
WASABI_S3_BUCKET: '${WASABI_S3_BUCKET:-}'
WASABI_S3_FORCE_PATH_STYLE: '${WASABI_S3_FORCE_PATH_STYLE:-}'
DIGITALOCEAN_ACCESS_KEY_ID: '${DIGITALOCEAN_ACCESS_KEY_ID:-}'
DIGITALOCEAN_SECRET_ACCESS_KEY: '${DIGITALOCEAN_SECRET_ACCESS_KEY:-}'
DIGITALOCEAN_REGION: '${DIGITALOCEAN_REGION:-}'
DIGITALOCEAN_SERVICE_URL: '${DIGITALOCEAN_SERVICE_URL:-}'
DIGITALOCEAN_CDN_URL: '${DIGITALOCEAN_CDN_URL:-}'
DIGITALOCEAN_S3_BUCKET: '${DIGITALOCEAN_S3_BUCKET:-}'
DIGITALOCEAN_S3_FORCE_PATH_STYLE: '${DIGITALOCEAN_S3_FORCE_PATH_STYLE:-}'
EXPRESS_SESSION_SECRET: '${EXPRESS_SESSION_SECRET:-}'
JWT_SECRET: '${JWT_SECRET:-}'
JWT_REFRESH_TOKEN_SECRET: '${JWT_REFRESH_TOKEN_SECRET:-}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ services:
WASABI_REGION: '${WASABI_REGION}'
WASABI_SERVICE_URL: '${WASABI_SERVICE_URL}'
WASABI_S3_BUCKET: '${WASABI_S3_BUCKET}'
WASABI_S3_FORCE_PATH_STYLE: '${WASABI_S3_FORCE_PATH_STYLE:-}'
DIGITALOCEAN_ACCESS_KEY_ID: '${DIGITALOCEAN_ACCESS_KEY_ID:-}'
DIGITALOCEAN_SECRET_ACCESS_KEY: '${DIGITALOCEAN_SECRET_ACCESS_KEY:-}'
DIGITALOCEAN_REGION: '${DIGITALOCEAN_REGION:-}'
DIGITALOCEAN_SERVICE_URL: '${DIGITALOCEAN_SERVICE_URL:-}'
DIGITALOCEAN_CDN_URL: '${DIGITALOCEAN_CDN_URL:-}'
DIGITALOCEAN_S3_BUCKET: '${DIGITALOCEAN_S3_BUCKET:-}'
DIGITALOCEAN_S3_FORCE_PATH_STYLE: '${DIGITALOCEAN_S3_FORCE_PATH_STYLE:-}'
EXPRESS_SESSION_SECRET: '${EXPRESS_SESSION_SECRET}'
JWT_SECRET: '${JWT_SECRET}'
JWT_REFRESH_TOKEN_SECRET: '${JWT_REFRESH_TOKEN_SECRET}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ services:
WASABI_REGION: '${WASABI_REGION}'
WASABI_SERVICE_URL: '${WASABI_SERVICE_URL}'
WASABI_S3_BUCKET: '${WASABI_S3_BUCKET}'
WASABI_S3_FORCE_PATH_STYLE: '${WASABI_S3_FORCE_PATH_STYLE:-}'
DIGITALOCEAN_ACCESS_KEY_ID: '${DIGITALOCEAN_ACCESS_KEY_ID:-}'
DIGITALOCEAN_SECRET_ACCESS_KEY: '${DIGITALOCEAN_SECRET_ACCESS_KEY:-}'
DIGITALOCEAN_REGION: '${DIGITALOCEAN_REGION:-}'
DIGITALOCEAN_SERVICE_URL: '${DIGITALOCEAN_SERVICE_URL:-}'
DIGITALOCEAN_CDN_URL: '${DIGITALOCEAN_CDN_URL:-}'
DIGITALOCEAN_S3_BUCKET: '${DIGITALOCEAN_S3_BUCKET:-}'
DIGITALOCEAN_S3_FORCE_PATH_STYLE: '${DIGITALOCEAN_S3_FORCE_PATH_STYLE:-}'
EXPRESS_SESSION_SECRET: '${EXPRESS_SESSION_SECRET}'
JWT_SECRET: '${JWT_SECRET}'
JWT_REFRESH_TOKEN_SECRET: '${JWT_REFRESH_TOKEN_SECRET}'
Expand Down
24 changes: 24 additions & 0 deletions .do/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,30 @@ services:
- key: WASABI_S3_BUCKET
scope: RUN_TIME
value: '$WASABI_S3_BUCKET'
- key: WASABI_S3_FORCE_PATH_STYLE
scope: RUN_TIME
value: '$WASABI_S3_FORCE_PATH_STYLE'
- key: DIGITALOCEAN_ACCESS_KEY_ID
scope: RUN_TIME
value: '$DIGITALOCEAN_ACCESS_KEY_ID'
- key: DIGITALOCEAN_SECRET_ACCESS_KEY
scope: RUN_TIME
value: '$DIGITALOCEAN_SECRET_ACCESS_KEY'
- key: DIGITALOCEAN_REGION
scope: RUN_TIME
value: '$DIGITALOCEAN_REGION'
- key: DIGITALOCEAN_SERVICE_URL
scope: RUN_TIME
value: '$DIGITALOCEAN_SERVICE_URL'
- key: DIGITALOCEAN_CDN_URL
scope: RUN_TIME
value: '$DIGITALOCEAN_CDN_URL'
- key: DIGITALOCEAN_S3_BUCKET
scope: RUN_TIME
value: '$DIGITALOCEAN_S3_BUCKET'
- key: DIGITALOCEAN_S3_FORCE_PATH_STYLE
scope: RUN_TIME
value: '$DIGITALOCEAN_S3_FORCE_PATH_STYLE'
- key: EXPRESS_SESSION_SECRET
scope: RUN_TIME
value: '$EXPRESS_SESSION_SECRET'
Expand Down
10 changes: 10 additions & 0 deletions .env.compose
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,16 @@ WASABI_SECRET_ACCESS_KEY=
WASABI_REGION=us-east-1
WASABI_SERVICE_URL=https://s3.wasabisys.com
WASABI_S3_BUCKET=gauzy
WASABI_S3_FORCE_PATH_STYLE=false

# DIGITALOCEAN Spaces Config (optional)
DIGITALOCEAN_ACCESS_KEY_ID=
DIGITALOCEAN_SECRET_ACCESS_KEY=
DIGITALOCEAN_REGION=us-east-1
DIGITALOCEAN_SERVICE_URL=
DIGITALOCEAN_CDN_URL=
DIGITALOCEAN_S3_BUCKET=gauzy
DIGITALOCEAN_S3_FORCE_PATH_STYLE=false

# Cloudinary Config (optional)
CLOUDINARY_CLOUD_NAME=
Expand Down
10 changes: 10 additions & 0 deletions .env.demo.compose
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,16 @@ WASABI_SECRET_ACCESS_KEY=
WASABI_REGION=us-east-1
WASABI_SERVICE_URL=https://s3.wasabisys.com
WASABI_S3_BUCKET=gauzy
WASABI_S3_FORCE_PATH_STYLE=true

# DIGITALOCEAN Spaces Config (optional)
DIGITALOCEAN_ACCESS_KEY_ID=
DIGITALOCEAN_SECRET_ACCESS_KEY=
DIGITALOCEAN_REGION=us-east-1
DIGITALOCEAN_SERVICE_URL=
DIGITALOCEAN_CDN_URL=
DIGITALOCEAN_S3_BUCKET=gauzy
DIGITALOCEAN_S3_FORCE_PATH_STYLE=false

# Cloudinary Config (optional)
CLOUDINARY_CLOUD_NAME=
Expand Down
10 changes: 10 additions & 0 deletions .env.docker
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,16 @@ WASABI_SECRET_ACCESS_KEY=
WASABI_REGION=us-east-1
WASABI_SERVICE_URL=https://s3.wasabisys.com
WASABI_S3_BUCKET=gauzy
WASABI_S3_FORCE_PATH_STYLE=true

# DIGITALOCEAN Spaces Config (optional)
DIGITALOCEAN_ACCESS_KEY_ID=
DIGITALOCEAN_SECRET_ACCESS_KEY=
DIGITALOCEAN_REGION=us-east-1
DIGITALOCEAN_SERVICE_URL=
DIGITALOCEAN_CDN_URL=
DIGITALOCEAN_S3_BUCKET=gauzy
DIGITALOCEAN_S3_FORCE_PATH_STYLE=false

# Cloudinary Config (optional)
CLOUDINARY_CLOUD_NAME=
Expand Down
10 changes: 10 additions & 0 deletions .env.local
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,16 @@ WASABI_SECRET_ACCESS_KEY=
WASABI_REGION=us-east-1
WASABI_SERVICE_URL=https://s3.wasabisys.com
WASABI_S3_BUCKET=gauzy
WASABI_S3_FORCE_PATH_STYLE=true

# DIGITALOCEAN Spaces Config (optional)
DIGITALOCEAN_ACCESS_KEY_ID=
DIGITALOCEAN_SECRET_ACCESS_KEY=
DIGITALOCEAN_REGION=us-east-1
DIGITALOCEAN_SERVICE_URL=
DIGITALOCEAN_CDN_URL=
DIGITALOCEAN_S3_BUCKET=gauzy
DIGITALOCEAN_S3_FORCE_PATH_STYLE=false

# Cloudinary Config (optional)
CLOUDINARY_CLOUD_NAME=
Expand Down
10 changes: 10 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,16 @@ WASABI_SECRET_ACCESS_KEY=
WASABI_REGION=us-east-1
WASABI_SERVICE_URL=https://s3.wasabisys.com
WASABI_S3_BUCKET=gauzy
WASABI_S3_FORCE_PATH_STYLE=true

# DIGITALOCEAN Spaces Config (optional)
DIGITALOCEAN_ACCESS_KEY_ID=
DIGITALOCEAN_SECRET_ACCESS_KEY=
DIGITALOCEAN_REGION=us-east-1
DIGITALOCEAN_SERVICE_URL=
DIGITALOCEAN_CDN_URL=
DIGITALOCEAN_S3_BUCKET=gauzy
DIGITALOCEAN_S3_FORCE_PATH_STYLE=false

# Cloudinary Config (optional)
CLOUDINARY_CLOUD_NAME=
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/deploy-civo-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ jobs:
WASABI_REGION: '${{ secrets.WASABI_REGION }}'
WASABI_SERVICE_URL: '${{ secrets.WASABI_SERVICE_URL }}'
WASABI_S3_BUCKET: '${{ secrets.WASABI_S3_BUCKET }}'
WASABI_S3_FORCE_PATH_STYLE: '${{ secrets.WASABI_S3_FORCE_PATH_STYLE }}'
DIGITALOCEAN_ACCESS_KEY_ID: '${{ secrets.DIGITALOCEAN_ACCESS_KEY_ID }}'
DIGITALOCEAN_SECRET_ACCESS_KEY: '${{ secrets.DIGITALOCEAN_SECRET_ACCESS_KEY }}'
DIGITALOCEAN_REGION: '${{ secrets.DIGITALOCEAN_REGION }}'
DIGITALOCEAN_SERVICE_URL: '${{ secrets.DIGITALOCEAN_SERVICE_URL }}'
DIGITALOCEAN_CDN_URL: '${{ secrets.DIGITALOCEAN_CDN_URL }}'
DIGITALOCEAN_S3_BUCKET: '${{ secrets.DIGITALOCEAN_S3_BUCKET }}'
DIGITALOCEAN_S3_FORCE_PATH_STYLE: '${{ secrets.DIGITALOCEAN_S3_FORCE_PATH_STYLE }}'
EXPRESS_SESSION_SECRET: '${{ secrets.EXPRESS_SESSION_SECRET }}'
JWT_SECRET: '${{ secrets.JWT_SECRET }}'
JWT_REFRESH_TOKEN_SECRET: '${{ secrets.JWT_REFRESH_TOKEN_SECRET }}'
Expand Down
Loading

0 comments on commit 2f73922

Please sign in to comment.