nas-samba: rebuilt as single Ubuntu image with Samba + CloudNAS (no MongoDB)

This commit is contained in:
2026-03-16 23:22:42 +00:00
parent 0104827234
commit 618e023996
43 changed files with 26653 additions and 107 deletions

View File

@@ -1,60 +1,25 @@
{
"schemaVersion": 2,
"$schema": "https://schemas.runtipi.io/dynamic-compose.json",
"services": [
{
"name": "nas-samba",
"image": "servercontainers/samba:latest",
"isMain": true,
"hostname": "nas",
"addPorts": [
{
"hostPort": 445,
"containerPort": 445,
"interface": "${BIND_IP}"
},
{
"hostPort": 139,
"containerPort": 139,
"interface": "${BIND_IP}"
}
],
"volumes": [
{
"hostPath": "${NAS_PATH:-/nas}",
"containerPath": "/nas"
}
],
"environment": [
{
"key": "ACCOUNT_alexz",
"value": "${SMB_PASSWORD}"
},
{
"key": "UID_alexz",
"value": "1000"
},
{
"key": "GROUP_alexz",
"value": "users"
},
{
"key": "SAMBA_VOLUME_CONFIG_data",
"value": "[data]; path=/nas; valid users=alexz; browsable=yes; writable=yes; create mask=0664; directory mask=0775"
}
]
},
{
"name": "nas-cloudnas",
"image": "git.alexzaw.dev/alexz/cloudnas:latest",
"isMain": true,
"internalPort": 8080,
"volumes": [
{
"hostPath": "${NAS_PATH:-/nas}",
"containerPath": "/nas"
}
]
}
]
}
{
"schemaVersion": 2,
"$schema": "https://schemas.runtipi.io/dynamic-compose.json",
"services": [
{
"name": "nas-samba",
"image": "git.alexzaw.dev/alexz/nas-samba:1.0.0",
"isMain": true,
"internalPort": 8080,
"addPorts": [
{ "hostPort": 445, "containerPort": 445, "interface": "${BIND_IP}" },
{ "hostPort": 139, "containerPort": 139, "interface": "${BIND_IP}" }
],
"volumes": [
{ "hostPath": "${NAS_PATH:-/nas}", "containerPath": "/nas" },
{ "hostPath": "${APP_DATA_DIR}/data/config", "containerPath": "/config" }
],
"environment": [
{ "key": "SMB_PASSWORD", "value": "${SMB_PASSWORD}" },
{ "key": "JWT_SECRET", "value": "${JWT_SECRET}" },
{ "key": "TZ", "value": "${TZ}" }
]
}
]
}