fix mastodon (why was it broken??)
This commit is contained in:
parent
3e4ab1ecf6
commit
1b0fcff9fb
|
@ -21,7 +21,7 @@ and then run it with
|
||||||
|
|
||||||
You can then access the apps on your local machine (using the magic of port forwarding) at the following addresses
|
You can then access the apps on your local machine (using the magic of port forwarding) at the following addresses
|
||||||
|
|
||||||
- Mastodon: <https://mastodon.localhost:55001>
|
- Mastodon: <http://mastodon.localhost:55001>
|
||||||
- You will have to "accept the security risk"
|
- You will have to "accept the security risk"
|
||||||
- It may take a minute for the webpage to come online. Until then you will see "502 Bad Gateway"
|
- It may take a minute for the webpage to come online. Until then you will see "502 Bad Gateway"
|
||||||
- (NOTE: currently broken) email sent from the mastodon instance (e.g. for setting up an account) will be accessible at <https://mastodon.localhost:55001/letter_opener>
|
- (NOTE: currently broken) email sent from the mastodon instance (e.g. for setting up an account) will be accessible at <https://mastodon.localhost:55001/letter_opener>
|
||||||
|
@ -40,6 +40,7 @@ You can then access the apps on your local machine (using the magic of port forw
|
||||||
- mastodon-web.service
|
- mastodon-web.service
|
||||||
- peertube.service
|
- peertube.service
|
||||||
- unclear yet which pixelfed services are useful
|
- unclear yet which pixelfed services are useful
|
||||||
|
- you can ssh to the machine using `ssh -p 2222 root@localhost`
|
||||||
|
|
||||||
# TODOs
|
# TODOs
|
||||||
|
|
||||||
|
|
14
common.nix
14
common.nix
|
@ -32,13 +32,13 @@
|
||||||
"-mon chardev=char0,mode=readline"
|
"-mon chardev=char0,mode=readline"
|
||||||
"-device virtconsole,chardev=char0,nr=0"
|
"-device virtconsole,chardev=char0,nr=0"
|
||||||
];
|
];
|
||||||
# forwardPorts = [
|
forwardPorts = [
|
||||||
# {
|
{
|
||||||
# from = "host";
|
from = "host";
|
||||||
# host.port = 2222;
|
host.port = 2222;
|
||||||
# guest.port = 22;
|
guest.port = 22;
|
||||||
# }
|
}
|
||||||
# ];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -81,6 +81,8 @@
|
||||||
enableUnixSocket = false;
|
enableUnixSocket = false;
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
RAILS_ENV = "development";
|
RAILS_ENV = "development";
|
||||||
|
# to be accessible from outside the VM
|
||||||
|
BIND = "0.0.0.0";
|
||||||
# for letter_opener (still doesn't work though)
|
# for letter_opener (still doesn't work though)
|
||||||
REMOTE_DEV = "true";
|
REMOTE_DEV = "true";
|
||||||
};
|
};
|
||||||
|
|
Reference in a new issue