You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🚀 RUN IT!
cd /mnt/docker/decidim/code/0.28.0
docker-compose up -d
👤 ADD SUPER ADMIN
open console in 'decidim' container via ssh (docker exec -it container_name /bin/bash) or in Portainer
and enter these commands one after another
🌐 URL
create a URL (domain.net) or sub-domain (sub.domain.net) and point it to your serveur IP
depending on your server set apache, nginx or traefik to point to the container's port, here: 3000
goto URL : sub.domain.net/system
LOGIN with SuperAdmin credentials
CREATE new organisation
OPEN Advanced Settings to access SMTP details (see if port 587 is better then 465)
SAVE
📧 CHECK if you received the confirmation email - change SMTP settings if necessary
♻️ UPDATE CODE cd /mnt/docker/decidim/code/0.28.0/config/environments sudo nano production.rb
add this line in the block Rails.application.configure do ... end : config.hosts << "sub.domain.net"
🌐 GOTO URL sub.domain.net/admin
give a new password for your admin account
🏆 INITIATE your project
🎬 CHECK video: (still looking for 'getting started with Decidim' video)
👃 SMELL YOUR FINGERS
they smell goood
GIVE THEM a V for Victory ✌️
Extra data
Decidim Version: 0.28.0
Decidim installation: docker-compose or portainer stack
Revolution: one command at a time - unless stopped
Additional context
this is a need for less-tech people, that would like to start a revolution in their community
I'd be very happy to receive your comments after you tried my recipe
✌️ love will prevail
The text was updated successfully, but these errors were encountered:
punkyard
changed the title
docker compose TUTORIAL | can you please test my tutorial?
docker compose INSTALL | can you please test my TUTORIAL?
Mar 3, 2024
Also I have some improvments to your docker-compose.yml...
I added sed to command, so there is no need to edit files or monting local, just use image from docker hub:
Describe the bug
in need of a Decidim documentation on how to install Decidim with docker compose
To Reproduce
Expected behavior
Screenshots
No response
Stacktrace
open a terminal and login to your server via ssh
(in this example we are installing decidim latest which is 0.28.0)
🗂️ CREATE A FOLDER AND IMPORT REPO
sudo mkdir /mnt/docker/decidim
cd /mnt/docker/decidim
sudo docker run -it -v "/mnt/docker/decidim/code:/code" ghcr.io/decidim/decidim-generator:0.28.0 decidim 0.28.0
sudo chown -R root: code
🐳 THE DOCKER-COMPOSE.YML FILE
(either in /mnt/docker/decidim/code/0.28.0/docker-compose.yml or in a new Portainer stack)
🚀 RUN IT!
cd /mnt/docker/decidim/code/0.28.0
docker-compose up -d
👤 ADD SUPER ADMIN
open console in 'decidim' container via ssh (docker exec -it container_name /bin/bash) or in Portainer
and enter these commands one after another
bundle exec rails console
user = Decidim::System::Admin.new(email: 'myemail@address.net', password: 'SuperAdminPass', password_confirmation: 'SuperAdminPass')
user.save!
then exit
🌐 URL
create a URL (domain.net) or sub-domain (sub.domain.net) and point it to your serveur IP
depending on your server set apache, nginx or traefik to point to the container's port, here: 3000
goto URL : sub.domain.net/system
LOGIN with SuperAdmin credentials
CREATE new organisation
OPEN Advanced Settings to access SMTP details (see if port 587 is better then 465)
SAVE
📧 CHECK if you received the confirmation email - change SMTP settings if necessary
♻️ UPDATE CODE
cd /mnt/docker/decidim/code/0.28.0/config/environments
sudo nano production.rb
add this line in the block Rails.application.configure do ... end :
config.hosts << "sub.domain.net"
⚙️ RESTART CONTAINER
sudo docker compose restart app
🌐 GOTO URL sub.domain.net/admin
give a new password for your admin account
🏆 INITIATE your project
🎬 CHECK video: (still looking for 'getting started with Decidim' video)
👃 SMELL YOUR FINGERS
they smell goood
GIVE THEM a V for Victory ✌️
Extra data
Additional context
this is a need for less-tech people, that would like to start a revolution in their community
I'd be very happy to receive your comments after you tried my recipe
✌️ love will prevail
The text was updated successfully, but these errors were encountered: