Project

General

Profile

Synology Containerization » History » Version 1

Jörg Ebeling, 03/31/2025 09:11 PM

1 1 Jörg Ebeling
# Synology Containerization
2
3
## Prerequist
4
5
A Synology NAS with container support.
6
7
For this instruction you need to have the following Synology packets installed:
8
- Container Manager
9
- Text Editor
10
11
## Installation
12
13
1. Open "File Station" and copy [l2cpbg-docker.zip]() to your `/docker` directory
14
2. Right-click on l2cpbg-docker.zip and "Extract Here" (files are zipped within a "l2cpbg" subfolder)
15
3. Change into extracted "l2cpbg" subfolder and edit `l2cpbg.conf`
16
4. Whenever you edit `l2cpbg.conf` with an Editor, take attention that your encoding is set to UTF-8!
17
5. Now change the [ldap] `base` to your company, family or whatever name.
18
   This can become anything you like, but take attention to use only alphanumeric characters.
19
   Also write it down, you need to use the same one within your phone configuration.
20
   Do the same with [ldap.bind] `dn` and `pass` which is likewise the login-name and password to your L2CPBG's internal LDAP server.
21
6. Within the [dav] block, change `server`, `user` and `pass` to your CardDAV's server URL, login and password.
22
7. At last, adapt the [location] block to your location specific settings
23
8. For sure, your can also adapt other settings here to your needs, but do **not** change the [ldap] port nor [db] directory!
24
9. Once finished editing, select menu File -> Save and close the "Text Editor"
25
10. Start "Container Manager", on the left side go to Project and "Create" a new project.
26
   "Set Path" to the path of the extracted l2cpbg-docker.zip `/docker/l2cpbg`.
27
   Select "Use existing docker-compose..." when asked.
28
11. Click "Next", do not "Set up web portal ...", again "Next", enable "Start the project ..." and finally press "Done"
29
12. Now you should see a windows where the container components get downloaded and build together, which might take 1-2 minutes.
30
    If everything went well, the last line should be `Exit Code: 0`. If not, check the build log what happen.