From 6055146d6004e92c60c11dfdadceb0448af8ff38 Mon Sep 17 00:00:00 2001 From: Cma Date: Mon, 4 Jul 2022 20:12:25 +0900 Subject: [PATCH] docker --- .gitignore | 5 ++++- Dockerfile | 3 +++ docker-compose.yaml | 9 +++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 Dockerfile create mode 100644 docker-compose.yaml diff --git a/.gitignore b/.gitignore index ff1dea3..7fee939 100644 --- a/.gitignore +++ b/.gitignore @@ -8,5 +8,8 @@ bower_components # /extension # /graphics +/cfg +/db + #Web font embed -src/browser/graphics/_lib/fonts.js \ No newline at end of file +src/browser/graphics/_lib/fonts.js diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..be264d6 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM cma2819/nodecg + +CMD ["nodecg", "start"] \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..0f9fee6 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,9 @@ +services: + nodecg: + image: cma2819/nodecg + ports: + - "9090:9090" + volumes: + - ./:/nodecg/bundles/nodecg-twitter-widget + - ./cfg:/nodecg/cfg + - ./db:/nodecg/db \ No newline at end of file