To get started, follow these steps:
- Please create the .env file with the following command line.
copy .env.example .env
- Please fill in the .env file with the required configurations below.
POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_DB=
- Please start server
docker compose up
- If you are
dial Tcp 127.0.0.1:5432: If you receive the connect: .... connection refused
error message, type the following command line into the terminal screen and write theIPAddress
part of the output into the .env file.
docker container inspect go-db