[a+d] Initial docker-compose + delete old build scripts
This commit is contained in:
parent
f5d7e719fb
commit
d07163376a
3 changed files with 14 additions and 10 deletions
|
@ -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
|
|
5
build.sh
5
build.sh
|
@ -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
|
|
|
@ -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"
|
Loading…
Reference in a new issue