chore: update default packaging configuration

This commit is contained in:
wpetit 2023-03-08 17:30:31 +01:00
parent 0fb0d234d6
commit 9aca9a6c58
2 changed files with 26 additions and 20 deletions

View File

@ -1,3 +1,6 @@
logger:
level: 1
format: human
agent: agent:
serverUrl: http://127.0.0.1:3000 serverUrl: http://127.0.0.1:3000
privateKeyPath: /var/lib/emissary/agent-key.json privateKeyPath: /var/lib/emissary/agent-key.json

View File

@ -1,24 +1,27 @@
http:
host: 0.0.0.0
port: 3000
logger: logger:
level: 1 level: 1
format: human format: human
database: server:
driver: sqlite privateKeyPath: /var/lib/emissary/server-key.json
dsn: sqlite:///var/lib/emissary/data.sqlite issuer: http://127.0.0.1:3000
cors: http:
allowedOrigins: [] host: 0.0.0.0
allowCredentials: true port: 3000
allowMethods: database:
- POST driver: sqlite
- GET dsn: sqlite:///var/lib/emissary/data.sqlite
- PUT cors:
- DELETE allowedOrigins: []
allowedHeaders: allowCredentials: true
- Origin allowMethods:
- Accept - POST
- Content-Type - GET
- Authorization - PUT
- Sentry-Trace - DELETE
allowedHeaders:
- Origin
- Accept
- Content-Type
- Authorization
- Sentry-Trace
debug: false debug: false