Skip to content

Commit

Permalink
remove unnecessary functions
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkent committed May 24, 2024
1 parent 4bb3e6a commit a3973b7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 31 deletions.
1 change: 0 additions & 1 deletion store/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ services:
- '5432'
env_file:
- .env
entrypoint: ["/usr/local/bin/custom-entrypoint.sh"]

volumes:
postgres_data:
Expand Down
8 changes: 0 additions & 8 deletions store/postgres/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ RUN curl -L https://github.com/pgvector/pgvector/archive/refs/tags/v0.7.0.tar.gz
# Copy initialization script
COPY init-vector-extension.sql /docker-entrypoint-initdb.d/

# Copy custom entrypoint script
COPY custom-entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/custom-entrypoint.sh

# Copy scripts and set permissions
COPY pg_dump-to-s3 /home
RUN chmod +x /home/pg_dump-to-s3.sh /home/s3-autodelete.sh
Expand All @@ -35,7 +31,3 @@ RUN service cron start
# Convert scripts to Unix format
RUN dos2unix /home/pg_dump-to-s3.sh
RUN dos2unix /home/s3-autodelete.sh

# Set the entrypoint to the custom script
ENTRYPOINT ["custom-entrypoint.sh"]
CMD ["postgres"]
22 changes: 0 additions & 22 deletions store/postgres/custom-entrypoint.sh

This file was deleted.

0 comments on commit a3973b7

Please sign in to comment.