Fix small pbm + ajout containeur media

This commit is contained in:
Marc Ducobu
2021-06-02 10:59:25 +02:00
parent 3ff309daa1
commit a5078f692d
5 changed files with 582 additions and 20 deletions

View File

@@ -6,7 +6,7 @@ services:
ports:
- "5432:5432"
volumes:
- "./db/data:/var/lib/postgresql/data"
- "pg-data:/var/lib/postgresql/data"
environment:
- "POSTGRES_PASSWORD=postgres"
citizen:
@@ -65,10 +65,13 @@ services:
- ./patches/taxhub/settings.ini:/home/appuser/taxhub/settings.ini
command: python server.py
pgweb:
image: sosedoff/pgweb
media:
build:
context: .
dockerfile: ./media/Dockerfile
image: registry.gitlab.com/champs-libres/geonature-citizen/media
ports:
- 8081:8081
- "8082:80"
apache:
build:
context: ./apache
@@ -76,3 +79,9 @@ services:
image: registry.gitlab.com/champs-libres/geonature-citizen/apache
ports:
- "8080:80"
pgweb:
image: sosedoff/pgweb
ports:
- 8081:8081
volumes:
pg-data: