Docker-compose environment variables

前端 未结 7 892
滥情空心
滥情空心 2021-02-01 13:44

I am trying to setup a postgres container and want to setup the postgres login with:

POSTGRES_USER: docker
POSTGRES_PASSWORD: docker

So I have

7条回答
  •  深忆病人
    2021-02-01 14:32

    I had the same problem, and in my case problem was fixed with a single command:

    docker-compose up --force-recreate
    

提交回复
热议问题