mirror of
https://git.anonymousland.org/deathrow/synapse-docker-deployment.git
synced 2024-10-01 11:49:56 -04:00
Fix port configuration
This commit is contained in:
parent
287ebb7d6d
commit
23d6ee0e2b
@ -194,6 +194,8 @@ services:
|
||||
entrypoint: ["/start.py", "run", "--config-path=/data/homeserver.yaml", "--config-path=/data/workers/worker4.yaml"]
|
||||
volumes:
|
||||
- ./files:/data:Z
|
||||
ports:
|
||||
- 127.0.0.1:8083:8081
|
||||
depends_on:
|
||||
- synapse
|
||||
networks:
|
||||
@ -213,6 +215,8 @@ services:
|
||||
entrypoint: ["/start.py", "run", "--config-path=/data/homeserver.yaml", "--config-path=/data/workers/worker3.yaml"]
|
||||
volumes:
|
||||
- ./files:/data:Z
|
||||
ports:
|
||||
- 127.0.0.1:8082:8081
|
||||
depends_on:
|
||||
- synapse
|
||||
networks:
|
||||
@ -232,6 +236,8 @@ services:
|
||||
entrypoint: ["/start.py", "run", "--config-path=/data/homeserver.yaml", "--config-path=/data/workers/worker2.yaml"]
|
||||
volumes:
|
||||
- ./files:/data:Z
|
||||
ports:
|
||||
- 127.0.0.1:8081:8081
|
||||
depends_on:
|
||||
- synapse
|
||||
networks:
|
||||
@ -251,6 +257,8 @@ services:
|
||||
entrypoint: ["/start.py", "run", "--config-path=/data/homeserver.yaml", "--config-path=/data/workers/worker1.yaml"]
|
||||
volumes:
|
||||
- ./files:/data:Z
|
||||
ports:
|
||||
- 127.0.0.1:8080:8081
|
||||
depends_on:
|
||||
- synapse
|
||||
networks:
|
||||
@ -269,6 +277,8 @@ services:
|
||||
entrypoint: ["/start.py", "run", "--config-path=/data/homeserver.yaml", "--config-path=/data/workers/federation3.yaml"]
|
||||
volumes:
|
||||
- ./files:/data:Z
|
||||
ports:
|
||||
- 127.0.0.1:8082:8081
|
||||
depends_on:
|
||||
- synapse
|
||||
networks:
|
||||
|
@ -1,15 +1,15 @@
|
||||
upstream generic_worker_ih {
|
||||
ip_hash;
|
||||
server synapse-generic-worker-1:8081;
|
||||
server synapse-generic-worker-1:8080;
|
||||
server synapse-generic-worker-2:8081;
|
||||
server synapse-generic-worker-3:8081;
|
||||
server synapse-generic-worker-4:8081;
|
||||
server synapse-generic-worker-3:8082;
|
||||
server synapse-generic-worker-4:8083;
|
||||
}
|
||||
|
||||
upstream generic_worker_lc {
|
||||
least_conn;
|
||||
server synapse-generic-worker-1:8081;
|
||||
server synapse-generic-worker-1:8080;
|
||||
server synapse-generic-worker-2:8081;
|
||||
server synapse-generic-worker-3:8081;
|
||||
server synapse-generic-worker-4:8081;
|
||||
server synapse-generic-worker-3:8082;
|
||||
server synapse-generic-worker-4:8083;
|
||||
}
|
Loading…
Reference in New Issue
Block a user