37 lines
1.0 KiB
Plaintext
37 lines
1.0 KiB
Plaintext
# INSTALLED AS PART OF GLUETUN-BW PROJECT
|
|
|
|
Create user and group
|
|
---------------------
|
|
Credentials -> Local Users -> Add
|
|
Full Name: firefox
|
|
Username: firefox
|
|
Disable Password: <select>
|
|
Email: stuurmcp@telkomsa.net
|
|
UID: (note)
|
|
Create New Primary Group: <select>
|
|
Create Home Directory: <uncheck>
|
|
Samba Authentication: <uncheck>
|
|
Save
|
|
|
|
firefox UID: 3036
|
|
firefox GID: 3035
|
|
|
|
Create datasets
|
|
---------------
|
|
# While firefox container will be created as part of gluetun-bw project, we will persist the data in a separate folder
|
|
# In Truenas shell:
|
|
# list datasets
|
|
zfs list | grep -i "docker.*firefox"
|
|
# create following datasets if not present
|
|
zfs create SSD1/docker/data/firefox
|
|
zfs create SSD1/docker/data/firefox/appdata
|
|
chown -R firefox:firefox /mnt/SSD1/docker/data/firefox
|
|
|
|
Ensure group access to Downloads folder
|
|
---------------------------------------
|
|
# In Truenas shell:
|
|
chmod -R g+rwx /mnt/stpool1/Downloads/firefox
|
|
# the group of the firefox folder should be "apps". We will run the firefox container with "apps" group.
|
|
|
|
|