mirror of
https://github.com/pooneyy/1Panel-Appstore.git
synced 2026-03-18 05:41:03 +08:00
- add `pull_policy: always` to all service definitions across all docker-compose files - ensure consistent image update behavior for all applications - maintain existing network configurations and external network settings - preserve all other service configurations and environment variables
31 lines
604 B
YAML
31 lines
604 B
YAML
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:latest
|
|
pull_policy: always
|
|
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
|