mirror of
https://github.com/c0de-archive/django-gallery.git
synced 2024-12-22 02:02:40 +00:00
88d195c207
This project will be to create an image gallery with support for private 'folders' as well as other ideas that I have
31 lines
548 B
YAML
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
|