dip

old school recipes for janitorial snafu.
git clone git://git.ricketyspace.net/dip.git
Log | Files | Refs

commit 73e952d92e5f8d4b463009ae776aeddbf82a64e4
parent b8adaa92626c31f307a62c6741e694bb36ef42cf
Author: rsiddharth <s@ricketyspace.net>
Date:   Fri, 25 May 2018 06:24:16 +0000

Add docker-compose.yml.

Diffstat:
.env | 1+
.gitignore | 1+
docker-compose.yml | 16++++++++++++++++
3 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/.env b/.env @@ -0,0 +1 @@ +COMPOSE_PROJECT_NAME=dip diff --git a/.gitignore b/.gitignore @@ -1 +1,2 @@ *~ +docker/secrets diff --git a/docker-compose.yml b/docker-compose.yml @@ -0,0 +1,16 @@ +version: '3.1' +services: + psql: + build: + context: ./docker + dockerfile: Dockerfile.psql + secrets: + - psec + environment: + POSTGRES_USER: s + POSTGRES_PASSWORD_FILE: /run/secrets/psec + ports: + - "5432:5432" +secrets: + psec: + file: ./docker/secrets/psql.txt