Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trickfilm400/limas-docker
Limas (Partkeepr Rewrite) Docker Repository
https://github.com/trickfilm400/limas-docker
Last synced: 2 days ago
JSON representation
Limas (Partkeepr Rewrite) Docker Repository
- Host: GitHub
- URL: https://github.com/trickfilm400/limas-docker
- Owner: Trickfilm400
- Created: 2024-07-11T09:25:53.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-07-11T13:03:12.000Z (4 months ago)
- Last Synced: 2024-07-11T14:53:25.240Z (4 months ago)
- Language: Dockerfile
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# limas-docker
Welcome to a docker repository for [Limas](https://github.com/Lopo/Limas), a [Partkeepr](https://github.com/partkeepr/PartKeepr) rewrite.
It's an inventory system for smaller, mostly electrical build-parts, like resistors etc.## Manual Build (inside docker folder)
`docker build -t local-limas-build .`## Docker Usage
Run the image with: `docker run --name limas -p 8080:80 -v "./data:/var/www/html/data" -e "APP_ENV=prod" -e "DATABASE_URL=mysql://username:password@mysql_host:3306/database-name?serverVersion=5.7.9&charset=utf8mb4"`
On the first start an admin user with `[email protected]` and `admin` will be created, as well as the database migrations, which run on every start.
A docker-compose example can be found in the `examples/docker-compose.yml` file.
Start the stack with `docker compose up -d` (inside the example folder, if you downloaded the whole folder).
Connect to the application via `http://localhost:8080` (or the corresponding hostname of your server)
To add SSL, you need a reverse proxy with SSL configured, like traefik. (Example will follow)
All Environment variables with their default values:
| Environment variable name | default value |
|---------------------------|----------------------------------------------------------------------------|
| REDIS_DSN | `redis://redis` |
| APP_ENV | `prod` (can only be set to `dev` or `prod`) |
| APP_SECRET | _empty_ |
| DATABASE_URL | `mysql://limas:limas@mysql:3306/limas?serverVersion=5.7.9&charset=utf8mb4` |
| NEXAR_ID | `client` |
| NEXAR_SECRET | `secret` |
| NEXAR_COUNTRY | `DE` |
| NEXAR_CURRENCY | `EUR` |