Skip to content

Commit 8cff204

Browse files
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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
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
authored and
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
committed
fix scripts: sudo docker compose
1 parent a23656b commit 8cff204

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

docker-compose.yml

-4
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,10 @@ services:
66
image: postgres:latest
77
volumes:
88
- postgres_data:/var/lib/postgresql/data
9-
environment:
10-
POSTGRES_HOST_AUTH_METHOD: trust
119
ports:
1210
- "5432:5432"
1311
networks:
1412
- app_network
15-
environment:
16-
POSTGRES_HOST_AUTH_METHOD: trust
1713

1814
web:
1915
build:

scripts/application_start.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
cd /home/ubuntu/api
33

44
echo "Starting service ..."
5-
docker compose up -d
5+
sudo docker compose up -d

scripts/application_stop.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
cd /home/ubuntu/api
33

44
echo "Stopping service ..."
5-
docker compose down
5+
sudo docker compose down

0 commit comments

Comments
 (0)