mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-23 07:23:46 +00:00
8b9285259a
Dockerfile should not change in the future. Docker-compose configuration need some work on LDAP init before fully working.
28 lines
522 B
YAML
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:
|
|
|