Experimenting with using a dockerized Piccolo Admin with an existing (legacy) database.
Clone repository.
git clone https://github.com/piccolo-orm/piccolo-admin-docker.git
Creating an .env
file.
cd app
cp .env.example .env && rm .env.example
cd ..
Creating a Docker image.
docker build -t piccolo_admin .
Running a Docker image (use the --network=host
flag for an existing database from the local machine).
docker run -d --network=host --name admin_container piccolo_admin
After site is running log in as admin user on localhost:8000 and use legacy database.