akkoma/docker-resources/generate-instance

16 lines
451 B
Text
Raw Normal View History

2023-12-30 12:55:56 -07:00
#!/bin/bash
mkdir -p ./uploads ./instance
podman run \
-v ./config:/opt/akkoma/config/:Z \
-v ./uploads:/opt/akkoma/uploads/:Z \
-v ./instance:/opt/akkoma/instance/:Z \
-it akkoma ./bin/pleroma_ctl instance gen \
--dbhost db \
--dbname akkoma \
--dbpass akkoma \
--dbuser akkoma \
--static-dir /opt/akkoma/instance/ \
--uploads-dir /opt/akkoma/uploads/ \
--listen-ip 0.0.0.0 $@