Add Dockerfile for server

This commit is contained in:
2020-06-21 01:58:06 +02:00
parent ccf99e318e
commit 415e5de1de
3 changed files with 35 additions and 6 deletions

View File

@@ -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