crunch/scripts/local_down.sh
kjuulh bc28451f8d
feat: with tx on all
Signed-off-by: kjuulh <contact@kjuulh.io>
2023-10-03 23:08:12 +02:00

20 lines
361 B
Bash
Executable File

#!/bin/bash
set -e
docker_compose_content=$(cat <<EOF
version: "3"
services:
postgres:
image: "postgres:latest"
environment:
POSTGRES_USER: cuddle
POSTGRES_PASSWORD: cuddle
POSTGRES_DB: cuddle
ports:
- "5432:5432"
EOF)
docker-compose -p cuddle_local -f <(echo "$docker_compose_content") down --remove-orphans --volumes