| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- import i18n from '@/locales'
- export const dict = {
- protocolArr: [
- { id: 'tcp', name: 'TCP' },
- { id: 'udp', name: 'UDP' },
- ],
- diskTypeArr: [
- { id: 'local', name: i18n.t('aice.local_disk') },
- ],
- }
- export const portMappings = [
- {
- container_port: -1,
- envs: [
- {
- key: 'WOLF_HTTPS_PORT',
- value_from: 'port',
- },
- ],
- first_port_offset: 0,
- protocol: 'tcp',
- },
- {
- container_port: -1,
- envs: [
- {
- key: 'WOLF_HTTP_PORT',
- value_from: 'port',
- },
- ],
- first_port_offset: 5,
- protocol: 'tcp',
- },
- {
- container_port: -1,
- envs: [
- {
- key: 'WOLF_CONTROL_PORT',
- value_from: 'port',
- },
- ],
- first_port_offset: 15,
- protocol: 'udp',
- },
- {
- container_port: -1,
- envs: [
- {
- key: 'WOLF_VIDEO_PING_PORT',
- value_from: 'port',
- },
- ],
- first_port_offset: 116,
- protocol: 'udp',
- },
- {
- container_port: -1,
- envs: [
- {
- key: 'WOLF_AUDIO_PING_PORT',
- value_from: 'port',
- },
- ],
- first_port_offset: 216,
- protocol: 'udp',
- },
- {
- container_port: -1,
- envs: [
- {
- key: 'WOLF_RTSP_SETUP_PORT',
- value_from: 'port',
- },
- ],
- first_port_offset: 26,
- protocol: 'tcp',
- },
- ]
|