mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 21:44:51 +00:00
* Move Mail, PDF configuration to Database, standardize configurations * Set default currency to USD on install * Pint code
35 lines
993 B
YAML
35 lines
993 B
YAML
#-------------------------------------------
|
|
# InvoiceShelf SQLite docker-compose variant
|
|
# Repo : https://github.com/InvoiceShelf/docker
|
|
#-------------------------------------------
|
|
|
|
services:
|
|
webapp:
|
|
container_name: invoiceshelf-variant-sqlite
|
|
build:
|
|
context: ../../
|
|
dockerfile: docker/production/Dockerfile
|
|
ports:
|
|
- "8090:8080" # 8090 is the public port.
|
|
volumes:
|
|
- invoiceshelf_storage:/var/www/html/storage
|
|
networks:
|
|
- invoiceshelf
|
|
environment:
|
|
- APP_NAME=InvoiceShelf
|
|
- APP_ENV=production
|
|
- APP_DEBUG=false
|
|
- APP_URL=http://localhost:8090
|
|
- DB_CONNECTION=sqlite
|
|
- DB_DATABASE=/var/www/html/storage/app/database.sqlite # please don't touch this!
|
|
- CACHE_STORE=file
|
|
- SESSION_DRIVER=file
|
|
- SESSION_LIFETIME=240
|
|
- SESSION_DOMAIN=localhost
|
|
- SANCTUM_STATEFUL_DOMAINS=localhost:8090
|
|
restart: unless-stopped
|
|
networks:
|
|
invoiceshelf:
|
|
volumes:
|
|
invoiceshelf_storage:
|