chore(zipline): refactor config
This commit is contained in:
parent
11bd4105dc
commit
70d80650b8
|
@ -16,15 +16,15 @@
|
|||
"form_fields": [
|
||||
{
|
||||
"type": "random",
|
||||
"label": "DB_PASSWORD",
|
||||
"label": "ZIPLINE_DB_PASSWORD",
|
||||
"min": 32,
|
||||
"env_variable": "DB_PASSWORD"
|
||||
"env_variable": "ZIPLINE_DB_PASSWORD"
|
||||
},
|
||||
{
|
||||
"type": "random",
|
||||
"label": "CORE_SECRET",
|
||||
"label": "ZIPLINE_CORE_SECRET",
|
||||
"min": 32,
|
||||
"env_variable": "CORE_SECRET"
|
||||
"env_variable": "ZIPLINE_CORE_SECRET"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,17 +1,18 @@
|
|||
version: "3.7"
|
||||
version: '3.7'
|
||||
|
||||
services:
|
||||
zipline:
|
||||
container_name: zipline
|
||||
image: ghcr.io/diced/zipline:3.6.4
|
||||
ports:
|
||||
- '${APP_PORT}:3000'
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- CORE_RETURN_HTTPS=false
|
||||
- CORE_SECRET=${CORE_SECRET}
|
||||
- CORE_SECRET=${ZIPLINE_CORE_SECRET}
|
||||
- CORE_HOST=0.0.0.0
|
||||
- CORE_PORT=3000
|
||||
- CORE_DATABASE_URL=postgres://tipi:${DB_PASSWORD}@zipline-db/zipline
|
||||
- CORE_DATABASE_URL=postgres://tipi:${ZIPLINE_DB_PASSWORD}@zipline-db/zipline
|
||||
- CORE_LOGGER=true
|
||||
volumes:
|
||||
- '${APP_DATA_DIR}/data/uploads:/zipline/uploads'
|
||||
|
@ -34,7 +35,7 @@ services:
|
|||
restart: unless-stopped
|
||||
environment:
|
||||
- POSTGRES_USER=tipi
|
||||
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
||||
- POSTGRES_PASSWORD=${ZIPLINE_DB_PASSWORD}
|
||||
- POSTGRES_DB=zipline
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/postgres:/var/lib/postgresql/data
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
A ShareX/file upload server that is easy to use, packed with features, and with an easy setup!
|
||||
|
||||

|
||||

|
||||

|
||||
[](https://discord.gg/EAhCRfGxCF)
|
||||
|
||||

|
||||
[](https://github.com/diced/zipline/pkgs/container/zipline/?tag=trunk)
|
||||
[](https://github.com/diced/zipline/pkgs/container/zipline/?tag=latest)
|
||||
## Default credentials
|
||||
|
||||
Username: administrator
|
||||
Password: password
|
||||
|
||||
## Features
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user