fix Dual mode is broken #666

This commit is contained in:
Stefan S 2024-12-01 12:30:35 +01:00 • committed by Stefan Stidl
parent c0c2a41c23
commit c8696a87fa
3 changed files with 458 additions and 1 deletions

View file

@ -1,5 +1,14 @@
## this is a docker compose file used to test all scenarios
## do not use it in production
x-shared:
speedtest-service: &speedtest-service
environment:
- PASSWORD=gimmeTheStats1337
- EMAIL=test@example.com
- ENABLE_ID_OBFUSCATION=true
- MODE=standalone
- REDACT_IP_ADDRESSES=true
- TELEMETRY=true
services:
###################### POSTGRESQL ################################
@ -102,3 +111,15 @@ services:
environment: *env_vars_sqlite
ports:
- 9128:8080
speedtest-alpine-sqlite-dual:
<<: *speedtest-service
build:
context: ../..
dockerfile: Dockerfile.alpine
environment:
- MODE=dual
volumes:
- ./servers.json:/servers.json:ro
ports:
- 9129:8080