2022-03-18 22:56:40 +00:00
|
|
|
# https://hub.docker.com/r/awesometechnologies/synapse-admin
|
|
|
|
version: '3.7'
|
|
|
|
|
2022-03-18 23:47:33 +00:00
|
|
|
networks:
|
|
|
|
# You need to create this network manually first!
|
|
|
|
synapse:
|
|
|
|
external: true
|
|
|
|
|
2022-03-18 22:56:40 +00:00
|
|
|
services:
|
|
|
|
synapse-admin:
|
|
|
|
image: awesometechnologies/synapse-admin
|
|
|
|
container_name: synapse-admin
|
|
|
|
hostname: synapse-admin
|
2022-03-18 23:47:33 +00:00
|
|
|
networks:
|
|
|
|
- synapse
|
2022-03-18 22:56:40 +00:00
|
|
|
ports:
|
|
|
|
- "${WEBUI_BIND_ADDR:-127.0.0.1}:${WEBUI_BIND_PORT:-8009}:80"
|
|
|
|
env_file: .env
|
|
|
|
restart: unless-stopped
|
|
|
|
logging:
|
|
|
|
driver: "json-file"
|
|
|
|
options:
|
|
|
|
max-size: "${LOG_MAX_SIZE:-5m}"
|
|
|
|
max-file: "${LOG_MAX_FILE:-5}"
|