mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-15 20:54:03 +00:00
Introduces openSUSE based docker-compose environment
This commit is contained in:
parent
824d83411d
commit
8fd3004d7f
7 changed files with 126 additions and 50 deletions
17
docker-compose.yml.dev-example
Normal file
17
docker-compose.yml.dev-example
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue