Introduces openSUSE based docker-compose environment

This commit is contained in:
Henne Vogelsang 2018-09-05 22:49:57 +02:00 committed by Ana María Martínez Gómez
parent 824d83411d
commit 8fd3004d7f
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