Created
October 7, 2019 17:32
-
-
Save hdonnay/82a7d5433d0343b37708f379d9fcf967 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
podman create \ | |
--name synapse-db \ | |
--network host \ | |
--expose 5432 \ | |
--env 'PGOPTIONS=-h 127.0.0.1' \ | |
--volume $HOME/synapse/db:/var/lib/postgresql/data \ | |
--volume $HOME/synapse/bootstrap.sql:/docker-entrypoint-initdb.d/bootstrap.sql:z\ | |
--volume $HOME/synapse/00-localhost.sh:/docker-entrypoint-initdb.d/00-localhost.sh:z\ | |
docker.io/postgres:11 -c 'listen_addresses=localhost' | |
podman create \ | |
--name synapse-server \ | |
--network host \ | |
--expose 8443 \ | |
--volume $HOME/synapse/config:/data \ | |
--volume $HOME/synapse/media:/data/media \ | |
docker.io/matrixdotorg/synapse:v1.3.1 |
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
#!/bin/sh | |
podman create \ | |
--name znc \ | |
--network host \ | |
--volume $HOME/znc:/znc-data \ | |
--expose 7000 \ | |
docker.io/znc:latest -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment