appstore-1panel/apps/synapse/1.94.0/docker-compose.yml

31 lines
600 B
YAML
Raw Normal View History

2023-07-13 15:34:02 +08:00
version: '3'
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
image: matrixdotorg/synapse:v1.94.0
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