8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 07:23:46 +00:00
re2o/docker-compose.yml
Alexandre Iooss 8b9285259a Add basic Docker support
Dockerfile should not change in the future.
Docker-compose configuration need some work on LDAP init before fully
working.
2018-10-27 09:48:05 +02:00

28 lines
522 B
YAML

# Use for development purposes only
version: '3'
services:
db:
image: postgres:alpine
environment:
- POSTGRES_DB=re2o
- POSTGRES_USER=re2o
- POSTGRES_PASSWORD=changeme
- POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=fr_FR.UTF-8 --lc-ctype=fr_FR.UTF-8
volumes:
- db_data:/var/lib/postgresql/data
restart: always
web:
build: .
ports:
- "8000:8000"
depends_on:
- db
volumes:
- .:/usr/src/app
restart: always
volumes:
db_data: