OpenSlides/docker/docker-compose.dev.yml

64 lines
1.3 KiB
YAML
Raw Normal View History

version: "3"
services:
client:
image: os3-client-dev
build:
context: ../client
dockerfile: docker/Dockerfile.dev
volumes:
2021-02-05 11:45:35 +01:00
- ../client/src:/app/src
server:
image: os3-server-dev
user: $UID:$GID
build:
context: ../server
dockerfile: docker/Dockerfile.dev
volumes:
- ../server:/app
depends_on:
- redis
- postgres
postgres:
image: postgres:11
environment:
- POSTGRES_USER=openslides
- POSTGRES_PASSWORD=openslides
- POSTGRES_DB=openslides
volumes:
- ./postgresql.dev.conf:/etc/postgresql/postgresql.conf
command: postgres -c 'config_file=/etc/postgresql/postgresql.conf'
2021-02-14 18:59:02 +01:00
prometheus:
image: prom/prometheus:v2.24.0
volumes:
- ../prometheus/prometheus.dev.yml:/etc/prometheus/prometheus.yml
ports:
- 9090:9090
autoupdate:
image: os3-autoupdate-dev
environment:
- MESSAGE_BUS_HOST=redis
- MESSAGE_BUS_PORT=6379
depends_on:
- server
- redis
volumes:
- ../autoupdate/cmd:/root/cmd
- ../autoupdate/internal:/root/internal
redis:
image: redis:latest
proxy:
2021-02-10 07:30:36 +01:00
image: os3-proxy-dev
2021-02-05 19:26:04 +01:00
volumes:
2021-02-06 11:47:38 +01:00
- ../caddy/Caddyfile.dev:/etc/caddy/Caddyfile
depends_on:
- client
- server
- autoupdate
ports:
2021-02-04 20:54:57 +01:00
- "8000:8000"