Files
osem/docker-compose.yml
Henne Vogelsang d70687c9b9 Get rid of bin/osem-init.sh
Setting up the app if it isn't already setup should be some
concious step and not run every time we boot the containers.

This also fixes the problem that processes are not killed
if you stop the container with CTRL+C because the bash script
is not passing on signals.
2021-10-21 16:14:47 +02:00

21 lines
378 B
YAML

version: "2.4"
services:
database:
image: postgres:12-alpine
environment:
PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_PASSWORD: mysecretpassword
osem:
build:
context: .
args:
CONTAINER_USERID: 1000
command: foreman start -p 3000
depends_on:
- database
ports:
- 3000:3000
volumes:
- .:/osem