Skip to content

Commit

Permalink
fixing issue with postgres use_volume missing config
Browse files Browse the repository at this point in the history
  • Loading branch information
its-a-feature committed Jul 29, 2024
1 parent 9ecf431 commit a75420a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.3.0-rc6] - 2024-07-29

### Changed

- Fixed a Docker copy with postgres based on https://github.com/its-a-feature/Mythic/issues/393 when use_volume is true

## [3.3.0-rc5] - 2024-07-29

### Changed
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.0-rc5
3.3.0-rc6
2 changes: 1 addition & 1 deletion mythic-docker/src/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.0-rc5
3.3.0-rc6
2 changes: 1 addition & 1 deletion postgres-docker/.docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM postgres:15-alpine
COPY ["pg_hba.conf", "/var/lib/postgresql/pg_hba.conf"]
COPY ["configuration.sh", "/docker-entrypoint-initdb.d/configuration.sh"]
COPY ["postgres.conf", "/etc/postgres.conf"]
COPY ["postgres.conf", "/etc/postgresql.conf"]

HEALTHCHECK --interval=30s --timeout=30s --retries=5 --start-period=20s \
CMD pg_isready -d mythic_db -U mythic_user || exit 1
2 changes: 1 addition & 1 deletion postgres-docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM postgres:15-alpine
COPY ["pg_hba.conf", "/var/lib/postgresql/pg_hba.conf"]
COPY ["configuration.sh", "/docker-entrypoint-initdb.d/configuration.sh"]
COPY ["postgres.conf", "/etc/postgres.conf"]
COPY ["postgres.conf", "/etc/postgresql.conf"]

HEALTHCHECK --interval=30s --timeout=30s --retries=5 --start-period=20s \
CMD pg_isready -d mythic_db -U mythic_user || exit 1

0 comments on commit a75420a

Please sign in to comment.