Docker
Use Docker to run DocKing in 1 line command
Single command away to run DocKing for development 😎
Image URL: https://github.com/shipsaas/docking
Then you can visit "https://localhost:8888" and use it in no time.
To check out more about the ENVs: visit here
Docker-Compose
Sample compose file:
Note: app_storage
contains the rendered PDF files.
Database notes
If you don't specify DB envs, by default DocKing will create a new SQLite database every time you run the image, which means:
Your data will be lost every time you turn off DocKing
To ensure your dev data won't be lost, there are 2 options
Mount SQLite file
If you wish to use SQLite & keep your data (for dev), you'd need to mount your SQLite file/folder into DocKing, e.g.:
Yeah it's weird to have 4 ////
right, but that's how we have to define when using Laravel 🥺
Note:
When DocKing starts, it will print the UID & GID, so that you can hit the
chown UID:GID your_sql.sqlite
file
Use MySQL/PgSQL/SQL Server
As the title say 😆
Last updated