mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-22 12:48:25 +00:00
You'll need to add a .env file to the same directory as the docker-compose.yml file that sets the values for DB_USER and DB_PASS.
9 lines
349 B
Bash
Executable File
9 lines
349 B
Bash
Executable File
#!/bin/bash
|
|
|
|
docker stop postgres_db_1
|
|
mkdir -p $HOME/docker/volumes/postgres
|
|
#docker pull postgres:latest
|
|
#docker run --rm --name pg-docker -e POSTGRES_PASSWORD=docker -d -p 5432:5432 -v $HOME/docker/volumes/postgres:/var/lib/postgresql/data postgres
|
|
docker-compose -f docker-compose.yml up --no-start
|
|
docker-compose -f docker-compose.yml start
|