fix(postiz): correct password
This commit is contained in:
parent
ce3d7b2438
commit
ec33e116a1
2 changed files with 5 additions and 2 deletions
|
@ -21,4 +21,4 @@ Volume=postiz-db:/var/lib/postgresql/data
|
|||
Environment=POSTGRES_USER=postiz-user
|
||||
Environment=POSTGRES_DB=postiz-db-local
|
||||
|
||||
Secret=postiz-password,type=env,target=POSTIZ_PASSWORD
|
||||
Secret=postiz-password,type=env,target=POSTGRES_PASSWORD
|
||||
|
|
|
@ -28,7 +28,10 @@ Environment=MAIN_URL=https://postiz.example.com
|
|||
Environment=FRONTEND_URL=https://postiz.example.com
|
||||
Environment=NEXT_PUBLIC_BACKEND_URL=https://postiz.example.com/api
|
||||
|
||||
Environment=DATABASE_URL=postgresql://postiz-user:${POSTIZ_PASSWORD}@postiz-postgres:5432/postiz-db-local
|
||||
## Make this whole env var a podman secret to hide the password
|
||||
## Secrets do not populate the env before Environment is established
|
||||
## Secret=postiz-db-url,type=env,target=DATABASE_URL
|
||||
Environment=DATABASE_URL=postgresql://postiz-user:postiz-password@postiz-postgres:5432/postiz-db-local
|
||||
Environment=redis://postiz-redis:6379
|
||||
Environment=BACKEND_INTERNAL_URL=http://localhost:3000
|
||||
Environment=IS_GENERAL=true
|
||||
|
|
Loading…
Add table
Reference in a new issue