From d07163376a0bfa46822f208122428c669686f659 Mon Sep 17 00:00:00 2001 From: Sangelo Date: Wed, 3 Apr 2024 16:49:15 +0200 Subject: [PATCH] [a+d] Initial docker-compose + delete old build scripts --- build-podman.sh | 5 ----- build.sh | 5 ----- docker-compose.yml | 14 ++++++++++++++ 3 files changed, 14 insertions(+), 10 deletions(-) delete mode 100755 build-podman.sh delete mode 100755 build.sh diff --git a/build-podman.sh b/build-podman.sh deleted file mode 100755 index 2807101..0000000 --- a/build-podman.sh +++ /dev/null @@ -1,5 +0,0 @@ -podman compose -f docker-compose.build.yml down && \ -#podman compose -f docker-compose.build.yml rm --all && \ -podman compose -f docker-compose.build.yml build --no-cache && \ -podman compose -f docker-compose.build.yml up -d --force-recreate && \ -watch -n 1 podman compose -f docker-compose.build.yml ps diff --git a/build.sh b/build.sh deleted file mode 100755 index 30bb601..0000000 --- a/build.sh +++ /dev/null @@ -1,5 +0,0 @@ -sudo docker compose -f docker-compose.build.yml down && \ -#sudo docker compose -f docker-compose.build.yml rm --all && \ -sudo docker compose -f docker-compose.build.yml build --no-cache && \ -sudo docker compose -f docker-compose.build.yml up -d --force-recreate && \ -watch -n 1 sudo docker compose -f docker-compose.build.yml ps diff --git a/docker-compose.yml b/docker-compose.yml index e69de29..ce88ea4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -0,0 +1,14 @@ +services: + watchtower: + image: containrrr/watchtower + container_name: watchtower + restart: unless-stopped + volumes: + - /var/run/docker.sock:/var/run/docker.sock + + website: + image: gitpot.dev/sangelo/website:latest + container_name: website + restart: unless-stopped + ports: + - "3000:80"