2020-05-28 11:40:41 +02:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
client:
|
|
|
|
image: os3-client-dev
|
|
|
|
build:
|
2021-01-20 09:10:23 +01:00
|
|
|
context: ../client
|
|
|
|
dockerfile: docker/Dockerfile.dev
|
2020-05-28 11:40:41 +02:00
|
|
|
volumes:
|
2021-02-05 11:45:35 +01:00
|
|
|
- ../client/src:/app/src
|
2020-05-28 11:40:41 +02:00
|
|
|
|
|
|
|
server:
|
|
|
|
image: os3-server-dev
|
|
|
|
user: $UID:$GID
|
|
|
|
build:
|
2021-01-20 09:10:23 +01:00
|
|
|
context: ../server
|
|
|
|
dockerfile: docker/Dockerfile.dev
|
2020-05-28 11:40:41 +02:00
|
|
|
volumes:
|
2021-01-20 09:10:23 +01:00
|
|
|
- ../server:/app
|
2020-05-28 11:40:41 +02:00
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
|
2021-01-20 09:10:23 +01:00
|
|
|
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'
|
|
|
|
|
2020-05-28 11:40:41 +02:00
|
|
|
autoupdate:
|
|
|
|
image: os3-autoupdate-dev
|
|
|
|
environment:
|
|
|
|
- MESSAGE_BUS_HOST=redis
|
|
|
|
- MESSAGE_BUS_PORT=6379
|
|
|
|
- WORKER_HOST=server
|
|
|
|
- WORKER_PORT=8000
|
|
|
|
depends_on:
|
|
|
|
- server
|
|
|
|
- redis
|
|
|
|
volumes:
|
|
|
|
- ../autoupdate/cmd:/root/cmd
|
|
|
|
- ../autoupdate/internal:/root/internal
|
|
|
|
redis:
|
|
|
|
image: redis:latest
|
|
|
|
|
2021-02-04 20:54:57 +01:00
|
|
|
caddy:
|
|
|
|
image: caddy:2.3.0-alpine
|
2021-02-05 19:26:04 +01:00
|
|
|
volumes:
|
2021-02-06 11:47:38 +01:00
|
|
|
- ../caddy/Caddyfile.dev:/etc/caddy/Caddyfile
|
2020-05-28 11:40:41 +02:00
|
|
|
depends_on:
|
|
|
|
- client
|
|
|
|
- server
|
|
|
|
- autoupdate
|
|
|
|
ports:
|
2021-02-04 20:54:57 +01:00
|
|
|
- "8000:8000"
|