django-gallery/docker-compose.yaml
c0de 88d195c207 Initial Commit
This project will be to create an image gallery
with support for private 'folders' as well as other
ideas that I have
2018-03-08 19:23:19 -06:00

31 lines
548 B
YAML

version: '3'
services:
postgres:
image: postgres
environment:
POSTGRES_PASSWORD: totallyHacked1337
POSTGRES_USER: imagehost
POSTGRES_DB: imagehost_db
volumes:
- ./backup:/backup
ports:
- '5432:5432'
imagehost_portal:
build: .
environment:
PORTAL_DEBUG: 'true'
volumes:
- .:/portal
ports:
- '8000:8000'
depends_on:
- postgres
working_dir: /portal
command: |
/usr/local/bin/wait-for-it.sh -t 60 postgres:5432 --
sh /portal/run.sh