Skip to content
Snippets Groups Projects
Commit 15ae076f authored by Tobias Ullerich's avatar Tobias Ullerich
Browse files

Add postgres docker configuration

parent a9ee4125
Branches
No related tags found
No related merge requests found
/.idea/ /.idea/
/php/admin/helper/settings.php client/settings.json
docker/postgres/data
\ No newline at end of file
FROM postgres:12
COPY roadmaps.sql /docker-entrypoint-initdb.d/roadmaps.sql
\ No newline at end of file
version: '3.7'
services:
postgres:
build:
context: .
dockerfile: Dockerfile
environment:
POSTGRES_USER: roadmaps
POSTGRES_PASSWORD: 12345
POSTGRES_DB: roadmaps
ports:
- "5433:5432"
volumes:
- "./data:/var/lib/postgresql/data"
\ No newline at end of file
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment