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

|
## Default credentials
|
||||||

|
|
||||||

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

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