duckil_plm/plm-timescaledb/Dockerfile

16 lines
548 B
Docker
Raw Normal View History

2024-12-12 18:31:36 +09:00
# fems-timescaledb/Dockerfile
FROM timescale/timescaledb:latest-pg16
# 설정 파일 복사
COPY ./postgresql.conf /etc/postgresql/postgresql.conf
COPY ./pg_hba.conf /etc/postgresql/pg_hba.conf
# COPY ./init-scripts/ /docker-entrypoint-initdb.d/
# 권한 설정
RUN chown postgres:postgres /etc/postgresql/postgresql.conf && \
chown postgres:postgres /etc/postgresql/pg_hba.conf && \
chmod 644 /etc/postgresql/postgresql.conf && \
chmod 644 /etc/postgresql/pg_hba.conf && \
chmod -R 755 /docker-entrypoint-initdb.d/
USER postgres