Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkent committed Jul 11, 2024
1 parent f5be20b commit e297f66
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions store/docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ services:
stdin_open: true # docker run -i
tty: true # docker run -t

store_pgsql:
image: store_pgsql
restart: always
build: ./postgres # Increase shared memory size
volumes:
- postgres_data:/var/lib/postgresql/data
- ./postgres/small_postgresql.conf:/etc/postgresql/small_postgresql.conf # Mount the custom config
expose:
- '5432'
env_file:
- .env
command: postgres -c config_file=/etc/postgresql/small_postgresql.conf # Use the custom config
# store_pgsql:
# image: store_pgsql
# restart: always
# build: ./postgres # Increase shared memory size
# volumes:
# - postgres_data:/var/lib/postgresql/data
# - ./postgres/small_postgresql.conf:/etc/postgresql/small_postgresql.conf # Mount the custom config
# expose:
# - '5432'
# env_file:
# - .env
# command: postgres -c config_file=/etc/postgresql/small_postgresql.conf # Use the custom config
4 changes: 2 additions & 2 deletions store/postgres/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN service cron start
RUN dos2unix /home/pg_dump-to-s3.sh
RUN dos2unix /home/s3-autodelete.sh

COPY postgresql.conf /etc/postgresql/postgresql.conf
# COPY postgresql.conf /etc/postgresql/postgresql.conf

# Set PostgreSQL to use the custom configuration file
CMD ["postgres", "-c", "config_file=/etc/postgresql/postgresql.conf"]
# CMD ["postgres", "-c", "config_file=/etc/postgresql/postgresql.conf"]

0 comments on commit e297f66

Please sign in to comment.