2023-07-13 15:34:02 +08:00
|
|
|
version: '3'
|
2023-07-04 10:01:00 +08:00
|
|
|
services:
|
|
|
|
synapse:
|
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- 1panel-network
|
|
|
|
volumes:
|
|
|
|
- synapse-data:/data
|
|
|
|
ports:
|
|
|
|
- "${PANEL_APP_PORT_HTTP}:8008"
|
|
|
|
environment:
|
|
|
|
- TZ=Asia/Shanghai
|
|
|
|
- UID=1000
|
|
|
|
- GID=1000
|
2023-12-03 10:24:30 +08:00
|
|
|
image: matrixdotorg/synapse:v1.97.0
|
2023-07-04 10:01:00 +08:00
|
|
|
logging:
|
|
|
|
options:
|
|
|
|
max-size: "10m"
|
|
|
|
command: run -m synapse.app.homeserver --config-path=/data/homeserver.yaml
|
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
synapse-data:
|
|
|
|
external: true
|
|
|
|
|
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|