cp .env.example .env
ex) 아래와 같이 넣어주면 된다.
DEBUG=True
SECRET_KEY=
POSTGRES_NAME=postgres
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_HOST=db
POSTGRES_PORT=5432
50 글자로 이뤄진 SECRET KEY를 만들어서 넣어주면 된다. 그냥 임의로 50글자 넣어도 되지만 여기서 시크릿 키를 만들어 사용할 수 있다.
docker-compose up -d
http://localhost