8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-21 19:03:11 +00:00
re2o/docker-compose.yml
2024-04-24 15:16:40 +02:00

43 lines
No EOL
872 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
depends_on:
- db
volumes:
- ./re2o/settings_local.py:/code/re2o/settings_local.py:ro
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- SUPERUSER_LOGIN=admin
- SUPERUSER_PASS=admin
- SUPERUSER_EMAIL=admin@example.net
nginx:
build:
context: .
dockerfile: ./docker/Dockerfile-nginx
volumes:
- ./media:/media
depends_on:
- re2o
ports:
- "80:80"