Files
databunker/start-docker.sh
2024-04-28 00:21:36 +03:00

8 lines
306 B
Bash
Executable File

#!/bin/sh
VERSION=$(cat ./version.txt)
docker build -t securitybunker/databunker:$VERSION --build-arg VERSION=$VERSION .
docker tag securitybunker/databunker:$VERSION securitybunker/databunker:latest
docker-compose -f docker-compose-pgsql.yml down || true
docker-compose -f docker-compose-pgsql.yml up -d