mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 13:41:23 +00:00
🚢 Simplified docker builds (#456)
* Simplify docker builds * Ignore docker and frontend scripts from PHP related checks * Update docker development setup
This commit is contained in:
committed by
GitHub
parent
3ed91545d1
commit
23f6b1877f
62
docker/development/docker-compose.sqlite.yml
Normal file
62
docker/development/docker-compose.sqlite.yml
Normal file
@@ -0,0 +1,62 @@
|
||||
services:
|
||||
php-fpm:
|
||||
container_name: invoiceshelf-dev-php
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: .dev/Dockerfile
|
||||
args:
|
||||
- UID=${USRID:-1000}
|
||||
- GID=${GRPID:-1000}
|
||||
target: development
|
||||
volumes:
|
||||
- ../../:/var/www/html
|
||||
networks:
|
||||
- invoiceshelf-dev
|
||||
|
||||
nginx:
|
||||
container_name: invoiceshelf-dev-nginx
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: .dev/nginx.Dockerfile
|
||||
environment:
|
||||
- "PHP_FPM_HOST=php-fpm:9000"
|
||||
ports:
|
||||
- '80:80'
|
||||
volumes:
|
||||
- ../../:/var/www/html
|
||||
networks:
|
||||
invoiceshelf-dev:
|
||||
aliases:
|
||||
- invoiceshelf.test
|
||||
|
||||
adminer:
|
||||
container_name: invoiceshelf-dev-adminer
|
||||
build:
|
||||
context: ./adminer
|
||||
dockerfile: Dockerfile
|
||||
environment:
|
||||
ADMINER_PLUGINS: tables-filter
|
||||
ADMINER_DESIGN: konya
|
||||
volumes:
|
||||
- ../database:/database
|
||||
ports:
|
||||
- '8080:8080'
|
||||
networks:
|
||||
- invoiceshelf-dev
|
||||
|
||||
mail:
|
||||
container_name: invoiceshelf-dev-mailpit
|
||||
image: axllent/mailpit:latest
|
||||
ports:
|
||||
- '1025:1025'
|
||||
- '8025:8025'
|
||||
networks:
|
||||
- invoiceshelf-dev
|
||||
|
||||
pdf:
|
||||
image: gotenberg/gotenberg:8
|
||||
networks:
|
||||
- invoiceshelf-dev
|
||||
|
||||
networks:
|
||||
invoiceshelf-dev:
|
||||
Reference in New Issue
Block a user