root bb8d951287 fix: pgAdmin storage permissions and siren stationtype NOT NULL
- pgAdmin: use named volume for /var/lib/pgadmin instead of bind mount
  subdirectory (fixes permission denied on storage dir)
- Siren INSERT in sidesdecode.py: add stationtype=3 to both INSERT
  statements (fixes NOT NULL constraint violation)
2026-05-21 02:24:53 +08:00
2023-08-01 20:02:08 +07:00
2023-08-01 20:02:08 +07:00

Laravel using PostgreSQL in Docker

docker+laravel

Introduction

Build a simple laravel application development environment with docker compose.

Requirement

  • Docker ^19.*

Installation

  1. Git clone & move to working directory
  2. Settings your credentials, copy .env.example to .env
  3. Execute the following command for create application
$ make create-project
  1. Next, set environment DB for app laravel in src/.env variable :
DB_CONNECTION=pgsql
DB_HOST=postgres
DB_PORT=5432
DB_DATABASE=<your_db_name>      // same in root .env variable POSTGRES_DB
DB_USERNAME=<your_db_user>      // same in root .env variable POSTGRES_USER
DB_PASSWORD=<your_db_password>  // same in root .env variable POSTGRES_PASSWORD
  1. show application in http://localhost:85
app+laravel
  1. show adminer in http://localhost:8080
adminer
  1. show pgadmin in http://localhost:5050
pgadmin
  1. list execute command in Makefile.

Container details :

Optional

  • pgadmin use image:
Description
sides app
Readme 113 MiB
Languages
Python 79%
Makefile 10.8%
Dockerfile 7.2%
Shell 3%