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 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 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