lib/souls/cli/docker/index.rb in souls-3.0.6 vs lib/souls/cli/docker/index.rb in souls-3.0.7
- old
+ new
@@ -1,17 +1,17 @@
module SOULs
class Docker < Thor
- desc "psql", "Run PostgreSQL13 Docker Container"
+ desc "psql", "Run PostgreSQL14 Docker Container"
def psql
system(
- "docker run --rm -d \
+ "docker run --restart always -d \
--name souls-psql \
-p 5433:5432 \
-v postgres-tmp:/var/lib/postgresql/data \
-e POSTGRES_USER=postgres \
-e POSTGRES_PASSWORD=postgres \
-e POSTGRES_DB=souls_test \
- postgres:13-alpine"
+ postgres:14-alpine"
)
system("docker ps")
end
desc "mysql", "Run MySQL Docker Container"