Skip to main content
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
FlagDescription
--1c-home stringPath to the 1C:Enterprise installation directory.
--1c-platform string1C:Enterprise platform bitness: x64 or x86.
--1c-port intLocal port for the web server (default: random free port).
--1c-publish-dir stringDirectory for publication files (default.vrd, httpd.conf).
--api-key stringYour tuna.am api key with the tunnels:connect scope (env TUNA_API_KEY).
--basic-auth stringAdd basic authentication (e.g. user:pass). Can be repeated.
--cidr-allow stringReject connections that do not match the given CIDRs. Can be repeated.
--cidr-deny stringReject connections that match the given CIDRs. Can be repeated.
-d, --domain stringHost tunnel on a custom domain.
--inspectEnable or disable the request inspector. Default: true.
--inspect-port intInspector port, the tunnel fails if it is busy (also TUNA_INSPECT_PORT).
--key-auth stringAdd key authentication passed in X-Token header. Can be repeated.
--policy-file stringPath to policy file. Default: .tuna.yml.
--qrGenerate and show QR code.
--rate-limit intLimit the amount of requests to your backend (e.g. 20 for 20 requests/sec).
--reset-vrdRegenerate default.vrd even if it already exists.
-s, --subdomain stringTemporary subdomain (default: random temporary subdomain).
-l, --location stringDeprecated 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 stringDeprecated in 0.39: use --api-key instead.

Subcommands​

CommandDescription
tuna 1c discoverFind 1C:Enterprise installations and infobases on this computer.
tuna 1c setupChoose the 1C:Enterprise installation and infobase and save them as defaults.

Global flags work too.

History​

0.40.0Added the --inspect-port flag.
0.39.0Added 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.0Command added.