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
|
||||
|
||||
- Mastodon: <https://mastodon.localhost:55001>
|
||||
- Mastodon: <http://mastodon.localhost:55001>
|
||||
- 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"
|
||||
- (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
|
||||
- peertube.service
|
||||
- unclear yet which pixelfed services are useful
|
||||
- you can ssh to the machine using `ssh -p 2222 root@localhost`
|
||||
|
||||
# TODOs
|
||||
|
||||
|
|
14
common.nix
14
common.nix
|
@ -32,13 +32,13 @@
|
|||
"-mon chardev=char0,mode=readline"
|
||||
"-device virtconsole,chardev=char0,nr=0"
|
||||
];
|
||||
# forwardPorts = [
|
||||
# {
|
||||
# from = "host";
|
||||
# host.port = 2222;
|
||||
# guest.port = 22;
|
||||
# }
|
||||
# ];
|
||||
forwardPorts = [
|
||||
{
|
||||
from = "host";
|
||||
host.port = 2222;
|
||||
guest.port = 22;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -81,6 +81,8 @@
|
|||
enableUnixSocket = false;
|
||||
extraConfig = {
|
||||
RAILS_ENV = "development";
|
||||
# to be accessible from outside the VM
|
||||
BIND = "0.0.0.0";
|
||||
# for letter_opener (still doesn't work though)
|
||||
REMOTE_DEV = "true";
|
||||
};
|
||||
|
|
Reference in a new issue