mirror of
https://github.com/ZetaKebab/quartz.git
synced 2025-01-14 22:18:43 +00:00
Docker: compose file and script to build and run
This commit is contained in:
parent
4595f54660
commit
fbed2635e2
2
custom/build-run.sh
Normal file
2
custom/build-run.sh
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
docker build -t quartz-jpg ..
|
||||||
|
docker-compose up -d --force-recreate
|
14
custom/docker-compose.yml
Normal file
14
custom/docker-compose.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
version: '3.4'
|
||||||
|
|
||||||
|
services:
|
||||||
|
quartz:
|
||||||
|
image: quartz-jpg
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
environment:
|
||||||
|
NODE_ENV: production
|
||||||
|
container_name: quartz
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 8080:8080
|
Loading…
Reference in New Issue
Block a user