fix: add bunny config to docker
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
This commit is contained in:
parent
6fe1163969
commit
6c47d22ae6
4 changed files with 20 additions and 1 deletions
|
@ -24,6 +24,10 @@ DATABASE="gorb" \
|
|||
DATABASE_HOST="database" \
|
||||
DATABASE_PORT="5432" \
|
||||
CACHE_DB_HOST="valkey" \
|
||||
CACHE_DB_PORT="6379"
|
||||
CACHE_DB_PORT="6379" \
|
||||
BUNNY_API_KEY="your_storage_zone_password_here" \
|
||||
BUNNY_ENDPOINT="Frankfurt" \
|
||||
BUNNY_ZONE="gorb" \
|
||||
BUNNY_CDN_URL="https://cdn.gorb.app"
|
||||
|
||||
ENTRYPOINT ["/usr/bin/entrypoint.sh"]
|
||||
|
|
|
@ -23,6 +23,10 @@ services:
|
|||
- DATABASE=gorb
|
||||
- DATABASE_HOST=database
|
||||
- DATABASE_PORT=5432
|
||||
- BUNNY_API_KEY="your_storage_zone_password_here"
|
||||
- BUNNY_ENDPOINT="Frankfurt"
|
||||
- BUNNY_ZONE="gorb"
|
||||
- BUNNY_CDN_URL="https://cdn.gorb.app"
|
||||
database:
|
||||
image: postgres:16
|
||||
restart: always
|
||||
|
|
|
@ -21,6 +21,10 @@ services:
|
|||
- DATABASE=gorb
|
||||
- DATABASE_HOST=database
|
||||
- DATABASE_PORT=5432
|
||||
- BUNNY_API_KEY="your_storage_zone_password_here"
|
||||
- BUNNY_ENDPOINT="Frankfurt"
|
||||
- BUNNY_ZONE="gorb"
|
||||
- BUNNY_CDN_URL="https://cdn.gorb.app"
|
||||
database:
|
||||
image: postgres:16
|
||||
restart: always
|
||||
|
|
|
@ -20,6 +20,13 @@ port = ${DATABASE_PORT}
|
|||
[cache_database]
|
||||
host = "${CACHE_DB_HOST}"
|
||||
port = ${CACHE_DB_PORT}
|
||||
|
||||
[bunny]
|
||||
api_key = "${BUNNY_API_KEY}"
|
||||
endpoint = "${BUNNY_ENDPOINT}"
|
||||
storage_zone = "${BUNNY_ZONE}"
|
||||
cdn_url = "${BUNNY_CDN_URL}"
|
||||
|
||||
EOF
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue