Files
farmOS-dev/web/profiles/farm/docs/development/environment/postgresql.md
2024-12-10 15:08:16 +01:00

304 B

PostgreSQL

The farmOS Docker image comes pre-installed with the PostgreSQL client psql command, which can be used to connect to the database and run queries from the command line.

Open PostgreSQL prompt

docker exec -it farmos_www_1 psql -h db -d farm -U farm

Enter farm as the password.