Skip to content
This repository has been archived by the owner on Mar 2, 2025. It is now read-only.

Commit

Permalink
Add comments to database Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
robiworks committed Dec 31, 2021
1 parent 38d24a2 commit f43cb0e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions database/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
# Base image
FROM postgres:alpine

# Set PostgreSQL settings
# User: novogradko
# Password: pass
# Database: novogradko
ENV POSTGRES_USER novogradko
ENV POSTGRES_PASSWORD pass
ENV POSTGRES_DB novogradko

# Copy the database initialisation file over
COPY init.sql /docker-entrypoint-initdb.d/

# Expose port 5432 to allow backend communication
EXPOSE 5432

0 comments on commit f43cb0e

Please sign in to comment.