8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 03:13:12 +00:00
re2o/docker-compose.yml

43 lines
872 B
YAML
Raw Normal View History

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:
2024-03-08 09:05:24 +00:00
build:
context: .
2024-03-10 11:06:29 +00:00
dockerfile: ./docker/Dockerfile-re2o
2024-03-08 09:05:24 +00:00
target: postgres
depends_on:
- db
2024-03-22 22:12:22 +00:00
volumes:
2024-04-24 13:16:40 +00:00
- ./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
2024-03-10 11:06:29 +00:00
nginx:
build:
context: .
dockerfile: ./docker/Dockerfile-nginx
volumes:
- ./media:/media
2024-04-24 13:16:40 +00:00
depends_on:
- re2o
2024-03-10 11:06:29 +00:00
ports:
- "80:80"