21 lines
570 B
Markdown
21 lines
570 B
Markdown
# Self-hosting Workshop
|
|
|
|
`<user>` = the username of the admin user account you created during install.
|
|
|
|
## Create Container
|
|
|
|
```
|
|
sudo loginctl enable-linger <user>
|
|
```
|
|
|
|
Create Folder `/opt/nextcloud` owned by `<user>`
|
|
|
|
| Field | Input | Note |
|
|
| ----- | ----- | ----- |
|
|
| Name | nextcloud | |
|
|
| Owner | User | |
|
|
| Image | docker.io/library/nextcloud | |
|
|
| Restart Policy | always | Only shows for non-root if linger is enabled |
|
|
| Port Mapping | 8080:80 TCP | Format is `host port:container port` |
|
|
| Volume | /opt/nextcloud -> /var/www/html | Writable and Private |
|