You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
640 B
25 lines
640 B
# Postgres-service start |
|
|
|
ARG VERSION=latest |
|
# Образ контейнера |
|
FROM postgres:${VERSION} |
|
|
|
# Сведения о контейнере |
|
LABEL author="esoe" |
|
LABEL description="postgres image for teh" |
|
LABEL version="1.0" |
|
|
|
# Переменные среды контейнера |
|
# ENV PG_CONTAINER_NAME='postgres-service' |
|
# ENV POSTGRES_USER='tech-services' |
|
# ENV POSTGRES_PASSWORD='password' |
|
# ENV POSTGRES_DB='tech-services' |
|
# ENV PGDATA='/data/tech-services' |
|
|
|
# COPY *.sql /docker-entrypoint-initdb.d/ |
|
|
|
# Сборка контейнера |
|
# docker build |
|
|
|
# Запуск контейнера |
|
# docker run
|
|
|