~/labs / env-royxat-formatiback

Nosozlikni topish10/15

Ro'yxat ichida KEY: value — bu KEY=value emas

environment ikki shaklda bo'ladi: mapping (KEY: value) yoki ro'yxat (- KEY=value). Aralashtirib bo'lmaydi.

  1. Yoki mapping'ga o'tkazing, yoki - KEY=value qiling — POSTGRES_PASSWORD va POSTGRES_USER=app yetib borsin.
…
docker-compose.yml
! 1 ta muammo —
Tab ichkariga · Shift+Tab tashqariga⌘/Ctrl+Enter tekshirishEsc maydondan chiqish

1 servis · 0 tarmoq · 0 volume · 1 ta muammo

Muammolar 1

  • ishga tushganda yiqiladi
    db: postgres POSTGRES_PASSWORDsiz ishga tushmaydi
    Error: Database is uninitialized and superuser password is not specified.

Servislar 1

postgres:16-alpine
portlar
chiqarilmagan — faqat ichki tarmoq
healthcheck
yo'q
restart
no (standart)
user
root (standart)
tarmoq
default

Ishga tushish tartibi

  1. dbhech kimni kutmaydi