Update docker compose command

This commit is contained in:
Charles Mendiburu 2026-04-26 21:05:07 +02:00
parent 15171f106b
commit dcf1668f13
5 changed files with 4 additions and 6 deletions

View File

@ -1,5 +1,3 @@
version: '3.8'
services: services:
db: db:
image: postgres:17-alpine image: postgres:17-alpine

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
echo "Preparing app..." echo "Preparing app..."
docker-compose build docker compose build
echo "App is prepared." echo "App is prepared."

View File

@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
echo "Removed app." echo "Removed app."
docker-compose down -v --rmi local docker compose down -v --rmi local

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
echo "Running app ..." echo "Running app ..."
docker-compose up -d docker compose up -d
echo "The app is available at http://localhost:5000" echo "The app is available at http://localhost:5000"

View File

@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
echo "Stopping app..." echo "Stopping app..."
docker-compose stop docker compose stop