8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-25 22:22:26 +00:00
re2o/docker-compose-dev.yml
2024-03-10 11:06:29 +00:00

36 lines
No EOL
749 B
YAML

version: "3"
volumes:
database_data:
driver: local
services:
db:
image: postgres:latest
volumes:
- database_data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
re2o:
build:
context: .
dockerfile: ./docker/Dockerfile-re2o
target: postgres-dev
depends_on:
- db
ports:
- "8000:8000"
volumes:
- .:/code
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- SUPERUSER_LOGIN=admin
- SUPERUSER_PASS=admin
- SUPERUSER_EMAIL=admin@example.net
- ENV=dev
entrypoint: ./docker/docker-entrypoint-dev.sh