mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
feat: create environment variable where possible
This commit is contained in:
parent
9922c0ed66
commit
bd84793780
@ -29,12 +29,12 @@ services:
|
||||
- traefik.http.services.${HASH}.loadbalancer.server.port=${ZIPLINE_PORT}
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- CORE_RETURN_HTTPS=false
|
||||
- CORE_RETURN_HTTPS=${ZIPLINE_RETURN_HTTPS}
|
||||
- CORE_SECRET=${ZIPLINE_SECRET}
|
||||
- CORE_HOST=0.0.0.0
|
||||
- CORE_PORT=3000
|
||||
- CORE_PORT=${ZIPLINE_PORT}
|
||||
- CORE_DATABASE_URL=postgres://postgres:postgres@postgres/postgres
|
||||
- CORE_LOGGER=true
|
||||
- CORE_LOGGER=${ZIPLINE_LOGGER}
|
||||
volumes:
|
||||
- './uploads:/zipline/uploads'
|
||||
- './public:/zipline/public'
|
||||
|
@ -9,7 +9,9 @@ export function generate(schema: Schema): Template {
|
||||
`ZIPLINE_HOST=${randomDomain}`,
|
||||
`ZIPLINE_PORT=3000`,
|
||||
`ZIPLINE_SECRET=${secretBase}`,
|
||||
`HASH=${mainServiceHash}`,
|
||||
`ZIPLINE_RETURN_HTTPS=false`,
|
||||
`ZIPLINE_LOGGER=true`,
|
||||
`HASH=${mainServiceHash}`
|
||||
]
|
||||
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user