fix zipline service
This commit is contained in:
BIN
public/svgs/zipline.png
Normal file
BIN
public/svgs/zipline.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
@@ -1,17 +1,19 @@
|
||||
# documentation: https://github.com/diced/zipline
|
||||
# slogan: A ShareX/file upload server that is easy to use, packed with features, and with an easy setup!
|
||||
# tags: zipline,file-sharing,upload,sharing
|
||||
# logo: svgs/zipline.png
|
||||
# port: 3000
|
||||
|
||||
services:
|
||||
zipline:
|
||||
image: ghcr.io/diced/zipline
|
||||
restart: unless-stopped
|
||||
image: ghcr.io/diced/zipline:latest
|
||||
environment:
|
||||
- SERVICE_FQDN_ZIPLINE_3000
|
||||
- CORE_RETURN_HTTPS=false
|
||||
- CORE_RETURN_HTTPS=${CORE_RETURN_HTTPS:-false}
|
||||
- CORE_SECRET=${SERVICE_PASSWORD_64_ZIPLINE}
|
||||
- CORE_DATABASE_URL=postgres://${SERVICE_USER_DATABASE}:${SERVICE_PASSWORD_64_DATABASE}@postgres/${POSTGRESQL_DATABASE:-zipline}
|
||||
- CORE_LOGGER=true
|
||||
- CORE_DATABASE_URL=postgres://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@postgres/${POSTGRES_DB:-zipline-db}
|
||||
- CORE_LOGGER=${CORE_LOGGER:-true}
|
||||
# Default credentials are "administrator" and "password"
|
||||
volumes:
|
||||
- zipline-uploads:/zipline/uploads
|
||||
- zipline-public:/zipline/public
|
||||
@@ -24,18 +26,17 @@ services:
|
||||
interval: 5s
|
||||
timeout: 20s
|
||||
retries: 10
|
||||
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
volumes:
|
||||
- postgresql-data:/var/lib/postgresql/data
|
||||
- zipline-postgres-data:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_USER=${SERVICE_USER_DATABASE}
|
||||
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_64_DATABASE}
|
||||
- POSTGRES_DB=${POSTGRESQL_DATABASE:-zipline}
|
||||
- POSTGRES_USER=${SERVICE_USER_POSTGRES}
|
||||
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
|
||||
- POSTGRES_DB=${POSTGRES_DB:-zipline-db}
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- pg_isready -U $${SERVICE_USER_DATABASE} -d $${POSTGRESQL_DATABASE}
|
||||
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
||||
interval: 5s
|
||||
timeout: 20s
|
||||
retries: 10
|
||||
|
Reference in New Issue
Block a user