Skip to content

Commit b67f318

Browse files
author
Robert Quander
committed
removed the db deletion
1 parent 7b3b77e commit b67f318

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

service/docker-compose.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ services:
1616
- postgres_data:/var/lib/postgresql/data
1717
# If things really need to be wiped, uncomment the destructive entrypoint below.
1818
# This will remove all old data in the database, and rebuild it from scratch.
19-
entrypoint: [ "bash", "-c", "\
20-
echo 'DESTROYING AND RESETTING DATABASE...'; \
21-
rm -rf /var/lib/postgresql/data/*; \
22-
chown -R postgres:postgres /var/lib/postgresql/data; \
23-
exec docker-entrypoint.sh postgres \
24-
" ]
19+
#entrypoint: [ "bash", "-c", "\
20+
# echo 'DESTROYING AND RESETTING DATABASE...'; \
21+
# rm -rf /var/lib/postgresql/data/*; \
22+
# chown -R postgres:postgres /var/lib/postgresql/data; \
23+
# exec docker-entrypoint.sh postgres \
24+
# " ]
2525
healthcheck:
2626
test: ["CMD-SHELL", "pg_isready -U postgres"]
2727
interval: 30s

0 commit comments

Comments
 (0)