chore(): docker-compose
This commit is contained in:
22
docker-compose.yml
Normal file
22
docker-compose.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
services:
|
||||
invoiceapi:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "8080:8080"
|
||||
depends_on:
|
||||
- gotenberg
|
||||
environment:
|
||||
- PDF_HOSTNAME=http://gotenberg:3000
|
||||
volumes:
|
||||
- ./config.json:/config.json
|
||||
develop:
|
||||
watch:
|
||||
- action: rebuild
|
||||
path: .
|
||||
ignore:
|
||||
- .git
|
||||
gotenberg:
|
||||
image: gotenberg/gotenberg:8
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user