Wahl-o-Mat für Personalwahlen https://kandimat.netzbegruenung.verdigado.net/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

74 lines
1.4 KiB

version: '3.1'
services:
redaktion:
build:
context: ./redaktions-app/
dockerfile: ./dev.Dockerfile
stdin_open: true
depends_on:
- graphql
ports:
- '8081:3000'
networks:
- frontend
user-app:
build:
context: kandimat-user-app/
dockerfile: ./dev.Dockerfile
depends_on:
- graphql
ports:
- "8080:8080"
networks:
- frontend
postgres:
image: kandimat-postgres:11.5
build:
dockerfile: ./Dockerfile
context: ./backend/
environment:
- "POSTGRES_PASSWORD=${POSTGRES_PASSWORD}"
env_file: ./backend/backend.env
ports:
- "5432:5432"
restart: always
volumes:
- "db-data:/var/lib/postgresql/data"
networks:
- backend
graphql:
restart: always
image: graphile/postgraphile
depends_on:
- postgres
env_file: ./backend/backend.env
ports:
- "5433:5000"
command: [
"--connection", $DATABASE_URL,
"--host", "0.0.0.0",
"--port", "5000",
"--cors",
"--schema", "kandimat_data",
"--default-role", "kandimat_anonymous",
"--jwt-token-identifier", "kandimat_data.jwt_token",
"--jwt-secret", $JWT_SECRET,
"--watch",
"--retry-on-init-fail",
"--enhance-graphiql",
"--classic-ids",
]
networks:
- frontend
- backend
networks:
backend:
frontend:
volumes:
db-data: