0.37+
tuna 1c
Publish a 1C:Enterprise infobase.
Only in the Windows x64 build of tuna.
Guide with examples: 1C:Enterprise.
Usage
tuna 1c [infobase] [flags]
Examples
tuna 1c
tuna 1c discover
tuna 1c setup
tuna 1c "My infobase"
tuna 1c "C:\Bases\MyBase"
tuna 1c "C:\Bases\MyBase" --basic-auth="login:password"
tuna 1c "Srvr=localhost;Ref=MyBase"
tuna 1c "C:\Bases\MyBase" --1c-home="D:\1cv8" --1c-platform=x86
tuna 1c "C:\Bases\MyBase" --1c-port=8314
| Flag | Description |
|---|---|
--1c-home string | Path to the 1C:Enterprise installation directory. |
--1c-platform string | 1C:Enterprise platform bitness: x64 or x86. |
--1c-port int | Local port for the web server (default: random free port). |
--1c-publish-dir string | Directory for publication files (default.vrd, httpd.conf). |
--api-key string | Your tuna.am api key with the tunnels:connect scope (env TUNA_API_KEY). |
--basic-auth string | Add basic authentication (e.g. user:pass). Can be repeated. |
--cidr-allow string | Reject connections that do not match the given CIDRs. Can be repeated. |
--cidr-deny string | Reject connections that match the given CIDRs. Can be repeated. |
-d, --domain string | Host tunnel on a custom domain. |
--inspect | Enable or disable the request inspector. Default: true. |
--inspect-port int | Inspector port, the tunnel fails if it is busy (also TUNA_INSPECT_PORT). |
--key-auth string | Add key authentication passed in X-Token header. Can be repeated. |
--policy-file string | Path to policy file. Default: .tuna.yml. |
--qr | Generate and show QR code. |
--rate-limit int | Limit the amount of requests to your backend (e.g. 20 for 20 requests/sec). |
--reset-vrd | Regenerate default.vrd even if it already exists. |
-s, --subdomain string | Temporary subdomain (default: random temporary subdomain). |
-l, --location string | Deprecated in 0.39: new names and ports are created in the global zone and need no location. If your name or port is reserved in the ru or nl zone, keep the location: the tunnel connects as before. |
--token string | Deprecated in 0.39: use --api-key instead. |
Subcommands
| Command | Description |
|---|---|
tuna 1c discover | Find 1C:Enterprise installations and infobases on this computer. |
tuna 1c setup | Choose the 1C:Enterprise installation and infobase and save them as defaults. |
Global flags work too.
History
| 0.40.0 | Added the --inspect-port flag. |
| 0.39.0 | Added the --api-key flag.Deprecated the --location flag: new names and ports are created in the global zone and need no location. If your name or port is reserved in the ru or nl zone, keep the location: the tunnel connects as before.Deprecated the --token flag: use --api-key instead. |
| 0.37.0 | Command added. |