Add Dockerfile for server
This commit is contained in:
@@ -2,20 +2,20 @@
|
||||
; %ROOT_DIR% is replaced by the actual directory of the package
|
||||
storage_dir = %ROOT_DIR%/var/storage
|
||||
|
||||
; Allow network-wide connections for queries
|
||||
query_dsn[] = ipc:///tmp/storage_server_query.ipc
|
||||
query_dsn[] = tcp://0.0.0.0:5678
|
||||
|
||||
; Allow local connections for commands
|
||||
command_dsn[] = ipc:///tmp/storage_server_command.ipc
|
||||
command_dsn[] = tcp://127.0.0.1:5679
|
||||
command_dsn[] = tcp://0.0.0.0:5679
|
||||
|
||||
|
||||
[command]
|
||||
; Connect through IPC socket
|
||||
dsn = ipc:///tmp/storage_server_command.ipc
|
||||
; Use TCP - in order to use IPC, create a volume in docker-compose.yaml
|
||||
;dsn = ipc:///tmp/storage_server_command.ipc
|
||||
dsn = tcp://localhost:5679
|
||||
|
||||
|
||||
[query]
|
||||
; Connect through TCP socket
|
||||
; Use TCP - in order to use IPC, create a volume in docker-compose.yaml
|
||||
;dsn = ipc:///tmp/storage_server_query.ipc
|
||||
dsn = tcp://localhost:5678
|
||||
|
||||
Reference in New Issue
Block a user