Introduces openSUSE based docker-compose environment

This commit is contained in:
Henne Vogelsang 2018-09-05 22:49:57 +02:00
parent 53c9b68afd
commit b763a2e888
No known key found for this signature in database
GPG key ID: 9D6164C2955FADE0
7 changed files with 126 additions and 50 deletions

View file

@ -0,0 +1,17 @@
version: "2"
services:
database:
image: postgres
environment:
PGDATA: /var/lib/postgresql/data/pgdata
web:
build: .
# env_file: dotenv.example
command: /osem/bin/osem-init.sh
depends_on:
- database
ports:
- 5000:5000
volumes:
- .:/osem