mirror of
https://github.com/its-a-feature/Mythic.git
synced 2026-11-12 18:35:57 -10:00
7 lines
389 B
Docker
Executable File
7 lines
389 B
Docker
Executable File
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/postgresql.conf"]
|
|
|
|
HEALTHCHECK --interval=30s --timeout=10s --retries=5 --start-period=5s \
|
|
CMD pg_isready -d ${POSTGRES_DB:-mythic_db} -U ${POSTGRES_USER:-mythic_user} -p ${POSTGRES_PORT:-5432} || exit 1 |