diff --git a/feed.xml b/feed.xml index e1dd076..c94f051 100644 --- a/feed.xml +++ b/feed.xml @@ -5,7 +5,7 @@ askiiart.net The feed for askiiart.net, I guess https://askiiart.net - Wed, 11 Oct 2023 00:29:58 +0000 + Sun, 15 Oct 2023 17:10:25 +0000 My Stack https://askiiart.net/stack.html @@ -14,6 +14,10 @@ Using JSON with docker compose https://askiiart.net/til/using-json-with-docker-compose.html + + Akkoma in Docker + https://askiiart.net/til/akkoma-in-docker.html + askiiart's site https://askiiart.net/index.html diff --git a/til/akkoma-in-docker.html b/til/akkoma-in-docker.html new file mode 100644 index 0000000..9561d26 --- /dev/null +++ b/til/akkoma-in-docker.html @@ -0,0 +1,33 @@ + + + + + + Akkoma in Docker + + + + +

Akkoma in Docker

+

Okay, so first of all, it doesn't work when running inside + the container as root. You can run the Docker daemon as root, + but if you're the root you'll have to change it up a bit to use + some other UID/GID, not 0 and 0.

+

Besides that, Akkoma's documentation isn't quite complete. + Some commands are missing a Docker version in the docs. But + running it in Docker is the same as running it from source, it's + just, well, in Docker.

+

So for "from source" commands, to use them in Docker, you + just prepend ./docker-resources/manage.sh. For + example...

+
mix pleroma.user invite
+

...would instead become...

+
./docker-resources/manage.sh mix pleroma.user invite
+ + + + diff --git a/til/akkoma-in-docker.md b/til/akkoma-in-docker.md new file mode 100644 index 0000000..82ac6b3 --- /dev/null +++ b/til/akkoma-in-docker.md @@ -0,0 +1,19 @@ +# Akkoma in Docker + +Okay, so first of all, it doesn't work when running inside the container as root. You can run the Docker daemon as root, but if you're the root you'll have to change it up a bit to use some other UID/GID, not 0 and 0. + +Besides that, Akkoma's documentation isn't quite complete. Some commands are missing a Docker version in the docs. But running it in Docker is the same as running it from source, it's just, well, in Docker. + +So for "from source" commands, to use them in Docker, you just prepend `./docker-resources/manage.sh`. For example... + +```bash +mix pleroma.user invite +``` + +...would instead become... + +```bash +./docker-resources/manage.sh mix pleroma.user invite +``` + +Other than those minor issues, you can just follow the docs.