p0p Posted October 31, 2022 Share Posted October 31, 2022 (edited) Hi, I'm very new to Docker and this is my first time to add Containers with Docker Compose. If there are improvements, please let me know 🙂 Currently running on: UnRaid 6.11.1 Used Docker Container: https://hub.docker.com/r/tuxgasy/dolibarr Requirements: UnRaid Access to the Internet Community Apps Community App: Docker Compose Steps: Have the Community Apps Extension installed. Search inside the Community Apps for "Docker Compose" and install the App. Switch to the Docker Tab, you'll see a new Section for Compose, At the Compose Section, on the most bottom left, click the Button "Add New Stack" - a Popup will appear. Give your Stack a name, in this Case "Dolibarr" and hit OK - Inside the Compose Section, you're going see your new created stack. Left of the Name of the stack "Dolibarr" hit the gear (option) icon - a popup will appear right above the name. Hit "Edit Stack" - a popup will appear in the center of the screen. Hit "Compose File" - the popup will close itself and a text editor will appear (you might have to scroll down a bit). Delete the content inside the text editor. Add these lines version: "3" services: mariadb: image: mariadb:latest environment: MYSQL_ROOT_PASSWORD: root MYSQL_DATABASE: dolibarr ports: - "3306:3306" web: image: tuxgasy/dolibarr environment: DOLI_DB_HOST: mariadb DOLI_DB_USER: root DOLI_DB_PASSWORD: root DOLI_DB_NAME: dolibarr DOLI_URL_ROOT: 'http://0.0.0.0' PHP_INI_DATE_TIMEZONE: 'Europe/Paris' ports: - "3002:80" links: - mariadb and hit Save at the top center of the text editor - A popup for "Edit Stack UI Labels" will appear Enter the following for the services Service: mariadb Icon - https://mariadb.com/wp-content/uploads/2019/11/mariadb-logo-vert_blue-transparent.png Web UI - http://[IP][PORT:3306]/ Shell - leave as it is Service: web Icon - https://www.dolibarr.org/medias/image/www.dolibarr.org/images/stories/dolibarr.png Web UI - http://[IP][PORT:3002]/ Shell - leave as it is In the column "Commands" hit "Compose Up" to start the deployment - It will create a Dolibarr and a MariaDB Container. The Docker Containers are going to start themselves. Grab a Coffee, the initial process can take a while until Dolibarr is up (depends on your machine). Navigate to http://YOURSERVERIP:3002 (replace YOURSERVERIP with the IP address of UnRaid server) // if this isn't working, try http://YOURSERVERIP:3002/install - The login mask should appear. To login to the Dolibar Dashboard, use the following login information: Default User: admin Defaul Password: admin Done -Setup Dolibarr as you wish Notes: Port 3306 is the Dolibarr default port for the DB. Port 3002 is a port set by me - you can set it to whatever port number you want. Happy ERPing! Edited October 31, 2022 by p0p pretty things up Quote Link to comment
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.