Created
October 26, 2021 13:17
-
-
Save koenhendriks/30afb9cf5843decafc371ceb101ecd49 to your computer and use it in GitHub Desktop.
Sloppy Matrix json export
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"project": "matrix-chat", | |
"services": [ | |
{ | |
"id": "matrix", | |
"apps": [ | |
{ | |
"id": "synapse-server", | |
"image": "matrixdotorg/synapse", | |
"cmd": "./start.py generate && ./start.py run", | |
"instances": 0, | |
"mem": 512, | |
"domain": { | |
"uri": "matrix.koenenjoke.nl" | |
}, | |
"ssl": true, | |
"port_mappings": [ | |
{ | |
"container_port": 8008 | |
} | |
], | |
"env": { | |
"SYNAPSE_SERVER_NAME": "sloppy-matrix-synapse", | |
"SYNAPSE_REPORT_STATS": "yes", | |
"SYNAPSE_HTTP_PORT": "8008", | |
"SYNAPSE_CONFIG_DIR": "/data", | |
"SYNAPSE_DATA_DIR": "/data", | |
"UID": "991", | |
"GID": "991", | |
"POSTGRES_PASSWORD": "matrix-db-secret", | |
"POSTGRES_USER": "synapse", | |
"POSTGRES_DB": "synapse", | |
"POSTGRES_HOST": "postgres.matrix.matrix-chat" | |
}, | |
"volumes": [ | |
{ | |
"container_path": "/data", | |
"size": "8GB" | |
} | |
], | |
"health_checks": [ | |
], | |
"dependencies": [ | |
"postgres" | |
], | |
"logging": null | |
}, | |
{ | |
"id": "postgres", | |
"image": "postgres:alpine", | |
"instances": 1, | |
"mem": 512, | |
"ssl": false, | |
"env": { | |
"POSTGRES_PASSWORD": "matrix-db-secret", | |
"POSTGRES_USER": "synapse", | |
"POSTGRES_DB": "synapse" | |
}, | |
"volumes": [ | |
{ | |
"container_path": "/var/lib/postgresql/data", | |
"size": "8GB" | |
} | |
], | |
"health_checks": [ | |
], | |
"logging": null | |
} | |
] | |
}, | |
{ | |
"id": "web-client", | |
"apps": [ | |
{ | |
"id": "cinny", | |
"image": "ajbura/cinny:latest", | |
"instances": 0, | |
"mem": 256, | |
"domain": { | |
"uri": "client.koenenjoke.nl" | |
}, | |
"ssl": true, | |
"port_mappings": [ | |
{ | |
"container_port": 80 | |
} | |
], | |
"volumes": [ | |
{ | |
"container_path": "/app", | |
"size": "8GB" | |
}, | |
{ | |
"container_path": "/etc/nginx", | |
"size": "8GB" | |
} | |
], | |
"health_checks": [ | |
], | |
"dependencies": [ | |
"../matrix/synapse-server" | |
], | |
"logging": null | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment