Docker-compose been finished without errors, all good, but site doesnt work. I think there is some kind of error around the nginx installation on my 7 and 8 steps.
only http://ww.uebishe.com/ (straight HTTP and WWW) respond me:
Docker-compose been finished without errors, all good, but site doesnt work. I think there is some kind of error around the nginx installation on my 7 and 8 steps.
only http://ww.uebishe.com/ (straight HTTP and WWW) respond me:
but is just front-end for Reddit.
Oh maaan, Kradiz that you! BIG THX FOR YOUR GUIDE ON YOUTUBE. I will write soon if I succeeded.
Terminal talk: service "pictrs" refers to undefined network lemmyinternal: invalid compose project
Find on github comment about it. I will try
docker run --detach --publish 80:80 --name webserver nginx
but this doesnt help
Yes i install on clear VDS fresh instance.
Ok, i write my steps here, hope you can help me and other users :)
Install VDS ubuntu 20
Go to Putty, connect ssh with root;pass
apt -y update && apt -y upgrade
apt -y install vim
Now i need instal docker
apt -y install ca-certificates curl gnupg lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
apt -y update
apt -y install docker-ce
sudo /etc/init.d/apache2 stop
sudo apt-get purge apache2
apt -y install nginx
sudo systemctl enable nginx
sudo systemctl start nginx
sudo systemctl status nginx
Ok, all works. There are no errors.
apt install certbot python3-certbot-nginx
certbot certonly --nginx -d uebishe.com,www.uebishe.com
write my mail, and agree all steps
Now i skip old step about "wget https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/templates/nginx.conf -O lemmy.conf"
mkdir /var/www/uebishe.com
cd /var/www/uebishe.com
wget https://raw.githubusercontent.com/LemmyNet/lemmy/main/config/defaults.hjson
wget https://raw.githubusercontent.com/LemmyNet/lemmy/main/docker/prod/docker-compose.yml
mv defaults.hjson lemmy.hjson
mkdir -p volumes/pictrs
chown -R 991:991 volumes/pictrs
vi lemmy.hjson
change hostname to "uebishe.com" (without other changes, for the test)
And now, we run Docker Compose?
docker compose up -d
On step 6/7 in "Container uebishecom-proxy-1" terminal told me:
Error response from daemon: driver failed programming external connectivity on endpoint uebishecom-proxy-1 (e52f822be8a0dc7dab6a590c47a4854b6cf3878b9bf079688eadfd8e6ecf0092): Error starting userland proxy: listen tcp4 0.0.0.0:80: bind: address already in use
hmm... your advice?
Unfortunately, I do not know how to implement this into the main Lemmy branch, at least because of editing a lot of variables that broke all the old themes.
If you have any ideas on how to make it accessible to everyone from the "main box" - the community and I will be grateful.
I try twice's make request pull, but he declined or deleted, idk. my main problems:
Unfortunately, most step-by-step tutorials assume knowledge of many basic things, which are not always even mentioned. For example, recently one of the users tried to explain to me that you just need to use the command "docker build -t lemmy-ui. " and etc., but there is a funny problem: I didn't even understand where (in which environment or in which program) I can use it, and where I can't. And also what to do after.
And so everything turns into collecting a million needles in a haystack. Of course, I understand that this is an integral part of learning everything related to programming. But often life works in such a way that one person, a professional in his field, can spend 4 hours of his time, saving 400 hours for 100 beginners. At the same time, without such help from a professional, probably 95% of potential active users and novice developers can simply get stuck and abandon their interest.
Ok. I go try it from scratch again.
Yes i install on clear VDS fresh instance.
Ok, i write my steps here, hope you can help me and other users :)
Install VDS ubuntu 20
Go to Putty, connect ssh with root;pass
Now i need instal docker
Ok, all works. There are no errors.
change params on
And now we have problem: