Advertisement
Guest User

Untitled

a guest
Oct 11th, 2023
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.06 KB | Source Code | 0 0
  1. {
  2.   "services": [
  3.     {
  4.       "type": "app",
  5.       "data": {
  6.         "projectName": "sillytavern",
  7.         "serviceName": "filebrowser",
  8.         "source": {
  9.           "type": "image",
  10.           "image": "filebrowser/filebrowser:v2-s6"
  11.         },
  12.         "deploy": {
  13.           "replicas": 1,
  14.           "command": null,
  15.           "zeroDowntime": false
  16.         },
  17.          "domains": [
  18.           {
  19.             "host": "files.yourdomain.com",
  20.             "https": true,
  21.             "port": 80,
  22.             "path": "/"
  23.           },
  24.         "mounts": [
  25.           {
  26.             "type": "bind",
  27.             "hostPath": "/",
  28.             "mountPath": "/srv"
  29.           },
  30.           {
  31.             "type": "volume",
  32.             "name": "database",
  33.             "mountPath": "/database"
  34.           },
  35.           {
  36.             "type": "file",
  37.             "content": "{\n  \"port\": 80,\n  \"baseURL\": \"\",\n  \"address\": \"\",\n  \"log\": \"stdout\",\n  \"database\": \"/database/database.db\",\n  \"root\": \"/srv\"\n}",
  38.             "mountPath": "/.filebrowser.json"
  39.           }
  40.         ]
  41.       }
  42.     },
  43.     {
  44.       "type": "app",
  45.       "data": {
  46.         "projectName": "sillytavern",
  47.         "serviceName": "sillytavern-release",
  48.         "source": {
  49.           "type": "github",
  50.           "owner": "Cohee1207",
  51.           "repo": "SillyTavern",
  52.           "ref": "release",
  53.           "path": "/",
  54.           "autoDeploy": false
  55.         },
  56.         "deploy": {
  57.           "replicas": 1,
  58.           "command": null,
  59.           "zeroDowntime": true
  60.         },
  61.          "domains": [
  62.           {
  63.             "host": "st.yourdomain.com",
  64.             "https": true,
  65.             "port": 8000,
  66.             "path": "/"
  67.           },
  68.         "mounts": [
  69.           {
  70.             "type": "volume",
  71.             "name": "sd-images",
  72.             "mountPath": "/home/node/app/public/user"
  73.           },
  74.           {
  75.             "type": "volume",
  76.             "name": "config",
  77.             "mountPath": "/home/node/app/config"
  78.           }
  79.         ]
  80.       }
  81.     }
  82.   ]
  83. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement