diff --git a/InvoiceShelf/Compose.yaml b/InvoiceShelf/Compose.yaml new file mode 100644 index 0000000..84f17f1 --- /dev/null +++ b/InvoiceShelf/Compose.yaml @@ -0,0 +1,64 @@ +#------------------------------------------- +# InvoiceShelf PostgreSQL docker-compose variant +# Repo : https://github.com/InvoiceShelf/docker +#------------------------------------------- + +services: + invoiceshelf_db: + container_name: invoiceshelf_db + image: postgres:15 + ports: + - 5432:5432 + volumes: + - /srv/docker/invoiceshelf/postgres:/var/lib/postgresql/data + environment: + - POSTGRES_PASSWORD= + - POSTGRES_USER=invoiceshelf + - POSTGRES_DB=invoiceshelf + networks: + - invoiceshelf + restart: unless-stopped + invoiceshelf: + image: invoiceshelf/invoiceshelf:nightly + container_name: invoiceshelf + ports: + - 8092:80 + volumes: + - /srv/docker/invoiceshelf/invoiceshelf_pgsql/data:/data + - /srv/docker/invoiceshelf/invoiceshelf_pgsql/conf:/conf + networks: + - invoiceshelf + environment: + - PHP_TZ=America/Chicago + - TIMEZONE=America/Chicago + - APP_NAME=Laravel + - APP_ENV=local + - APP_DEBUG=true + - APP_URL=http://localhost:8092 + - DB_CONNECTION=pgsql + - DB_HOST=invoiceshelf_db + - DB_PORT=5432 + - DB_DATABASE=invoiceshelf + - DB_USERNAME=invoiceshelf + - DB_PASSWORD= + - CACHE_STORE=file + - SESSION_DRIVER=file + - SESSION_LIFETIME=120 + - SESSION_ENCRYPT=false + - SESSION_PATH=/ + - SESSION_DOMAIN=localhost + - SANCTUM_STATEFUL_DOMAINS=localhost:8092 + - STARTUP_DELAY=10 + #- MAIL_DRIVER=smtp + #- MAIL_HOST=smtp.mailtrap.io + #- MAIL_PORT=2525 + #- MAIL_USERNAME=null + #- MAIL_PASSWORD=null + #- MAIL_PASSWORD_FILE= + #- MAIL_ENCRYPTION=null + restart: unless-stopped + depends_on: + - invoiceshelf_db + +networks: + invoiceshelf: \ No newline at end of file