[a+d] Initial docker-compose + delete old build scripts

This commit is contained in:
Sangelo 2024-04-03 16:49:15 +02:00
parent f5d7e719fb
commit d07163376a
3 changed files with 14 additions and 10 deletions

View file

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

View file

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

View file

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