From b304bd0af944aad79c24d4c1735a51fd32624f88 Mon Sep 17 00:00:00 2001 From: Shiro-Nek0 Date: Sat, 21 Mar 2026 22:08:36 -0300 Subject: [PATCH] compose --- .gitignore | 1 - build-deploy.sh | 5 +++++ docker-compose.yml | 11 +++++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 build-deploy.sh create mode 100644 docker-compose.yml diff --git a/.gitignore b/.gitignore index 412c257..e69de29 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +0,0 @@ -docker-compose.yml \ No newline at end of file diff --git a/build-deploy.sh b/build-deploy.sh new file mode 100644 index 0000000..523189c --- /dev/null +++ b/build-deploy.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +git pull +docker build -t rendiciones:latest . +docker compose up -d \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..f9693f6 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,11 @@ +name: rendiciones +services: + rendiciones: + ports: + - 5001:5000 + volumes: + - YOUR_PATH/rendiciones/db:/app/db + - YOUR_PATH/rendiciones/static/cache:/app/static/cache + container_name: rendiciones-server + image: rendiciones:latest + restart: unless-stopped \ No newline at end of file