From 45e14c95366952d27c3de37ef900bd7c9c1b7558 Mon Sep 17 00:00:00 2001 From: Marius Robert Macamete Date: Wed, 10 Sep 2025 15:19:29 +0300 Subject: [PATCH] add docker-compose --- docker-compose.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..3aa0a78 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,29 @@ +version: "3.9" + +services: + launchpad: + build: . + container_name: launchpad + restart: always + environment: + # Flask secrets + - SECRET_KEY=ABZ3EavEwWcJpkpeE1e4CfoFZR4Bgx7E + - ADMIN_USER=admin + - ADMIN_PASS=Inteligent1_eu + - PUBLIC_BASE_URL=https://launchpad.northdanubesoft.eu + + # Reverse proxy integration + - VIRTUAL_HOST=launchpad.northdanubesoft.eu + - LETSENCRYPT_HOST=launchpad.northdanubesoft.eu + - VIRTUAL_PORT=5000 + + volumes: + # persist uploaded images between container rebuilds + - ./uploads:/app/static/uploads + + networks: + - reverse-proxy # 👈 use the same network as your nginx-proxy + +networks: + reverse-proxy: + external: true \ No newline at end of file