$ docker-compose up -d
Access PHP app on http://localhost:80 and submit the form:
Visit http://localhost:5050 Default credentials are:
- username: pgadmin@mail.com
- password: mypassword
Add a connection:
Check the data:
The docker-compose.yaml is very flexible. By editing the enviroment variables inside the file you can define the following:
- POSTGRES_USER (default = dev)
- POSTGRES_PASSWORD (default = secret)
- POSTGRES_DB (default = db)
- DEFAULT_USER (default = pgadmin@mail.com)
- DEFAULT_PASSWORD (default = mypassword)