Added a Dockerfile and docker-compose to this project
The compose requieres the printer image too
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
networks:
|
||||
esilva-faxnetwork:
|
||||
name: esilva-faxnetwork
|
||||
driver: bridge
|
||||
|
||||
services:
|
||||
esilva-fax:
|
||||
hostname: esilva-fax
|
||||
build: ./
|
||||
image: esilva-fax
|
||||
container_name: esilva-fax-container
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
networks:
|
||||
- esilva-faxnetwork
|
||||
volumes:
|
||||
- ./data.db:/data.db
|
||||
- ./src/config.yml:/etc/fax/config.yml
|
||||
ports:
|
||||
- "8083:8083"
|
||||
tmpfs:
|
||||
- /tmp
|
||||
restart: unless-stopped
|
||||
|
||||
esilva-printer:
|
||||
hostname: esilva-printer
|
||||
build: ../gothermal/
|
||||
image: esilva-printer
|
||||
container_name: esilva-printer-container
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
networks:
|
||||
- esilva-faxnetwork
|
||||
tmpfs:
|
||||
- /tmp
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user