From f398109b4696ae81b84a853201579295c2259e3c Mon Sep 17 00:00:00 2001 From: Kjetil Grun <8692982+kjegru@users.noreply.github.com> Date: Wed, 20 Nov 2024 22:39:58 +0100 Subject: [PATCH 1/3] Ignore .vscode folders --- .gitignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 4af4529..1c123d4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -**/.vscode/ +# VS Code settings +.vscode/ +**/.vscode/ \ No newline at end of file From 2ab3c8114cd05eb82dabc9c9f03b937eaf72bdde Mon Sep 17 00:00:00 2001 From: Kjetil Grun <8692982+kjegru@users.noreply.github.com> Date: Wed, 20 Nov 2024 22:40:34 +0100 Subject: [PATCH 2/3] Pushing an .env file with some examples, but no secrets --- .env | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .env diff --git a/.env b/.env new file mode 100644 index 0000000..f661079 --- /dev/null +++ b/.env @@ -0,0 +1,12 @@ +# .env.example +# For local development +# REGISTRY= +# IMAGE_TAG=test + +# For production +REGISTRY=ghcr.io/ninanor/ +IMAGE_TAG=latest + +# For test +# REGISTRY=ghcr.io/ninanor/ +# IMAGE_TAG=test \ No newline at end of file From 9f9ab782c7ef5870b0b5d9673a2b767588afe075 Mon Sep 17 00:00:00 2001 From: Kjetil Grun <8692982+kjegru@users.noreply.github.com> Date: Wed, 20 Nov 2024 22:42:22 +0100 Subject: [PATCH 3/3] Docker Compose for the portainer service --- docker-compose.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..18037c8 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,11 @@ +services: + brownbearpopmodel: + image: ${REGISTRY:-}brownbearpopmodel:${IMAGE_TAG:-test} + ports: + - 3840:3838 + #restart: unless-stopped + # deploy: + # restart_policy: + # condition: on-failure + # max_attempts: 3 + # delay: 60s