appstore-1panel/dockge/synapse/docker-compose.yml
QYG2297248353 275d5be658
Some checks are pending
Process Apps and Commit Changes / process (push) Waiting to run
Processed apps directory via GitHub Actions
2024-11-28 09:57:19 +00:00

40 lines
799 B
YAML

networks:
1panel-network:
external: true
services:
synapse:
container_name: synapse
depends_on:
- synapse-init
env_file:
- ./envs/global.env
- .env
image: matrixdotorg/synapse:v1.120.0
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:8008
restart: always
volumes:
- ${SYNAPSE_ROOT_PATH}/data:/data
synapse-init:
container_name: init-synapse
entrypoint:
- /start.py
- generate
env_file:
- ./envs/global.env
- .env
environment:
- SYNAPSE_REPORT_STATS=no
- SYNAPSE_NO_TLS=true
- SYNAPSE_HTTP_PORT=8008
image: matrixdotorg/synapse:v1.120.0
networks:
- 1panel-network
restart: false
volumes:
- ${SYNAPSE_ROOT_PATH}/data:/data