mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
19 lines
661 B
YAML
19 lines
661 B
YAML
version: '3.3'
|
|
services:
|
|
partdb:
|
|
container_name: partdb
|
|
# By default Part-DB will be running under Port 8080, you can change it here
|
|
ports:
|
|
- '8080:80'
|
|
volumes:
|
|
# By default
|
|
- ./uploads:/var/www/html/uploads
|
|
- ./public_media:/var/www/html/public/media
|
|
- ./db:/var/www/html/var/db
|
|
restart: unless-stopped
|
|
image: jbtronics/part-db1:latest
|
|
environment:
|
|
# Put SQLite database in our mapped folder. You can configure some other kind of database here too.
|
|
- DATABASE_URL=sqlite:///%kernel.project_dir%/var/db/app.db
|
|
# In docker env logs will be redirected to stderr
|
|
- APP_ENV=docker
|