16 lines
548 B
Docker
16 lines
548 B
Docker
|
# 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
|