Skip to content

Commit

Permalink
Improve Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
labkode committed Jan 23, 2017
1 parent 29fce37 commit 0fcae8c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,4 @@ WORKDIR /go/src/github.com/clawio/clawiod/cmd/clawiod
RUN go get ./...
RUN go install

CMD /go/bin/clawiod -conf /go/src/github.com/clawio/clawiod/etc/monolithic.conf

EXPOSE 1560
CMD /go/bin/clawiod -conf /go/src/github.com/clawio/clawiod/etc/clawiod.conf
27 changes: 27 additions & 0 deletions etc/clawiod.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"port": 1560,
"cpu": "100%",
"enabled_web_services": "authentication,data,metadata",
"app_logger_out": "1",
"http_access_logger_out": "1",
"user_driver": "memuserdriver",
"mem_user_driver_users": "demo:demo:[email protected]:Demo User",
"data_driver": "fsdatadriver",
"fs_data_driver_data_folder": "/tmp/clawiod",
"fs_data_driver_temporary_folder": "/tmp",
"fs_data_driver_checksum": "",
"fs_data_driver_verify_client_checksum": false,
"meta_data_driver": "fsmdatadriver",
"fsm_data_driver_data_folder": "/tmp/clawiod",
"fsm_data_driver_temporary_folder": "/tmp",
"token_driver": "jwttokendriver",
"jwt_token_driver_key": "",
"cors_middleware_enabled": true,
"cors_middleware_access_control_allow_origin": "*",
"cors_middleware_access_control_allow_methods": "GET,POST,PUT,DELETE,HEAD",
"cors_middleware_access_control_allow_headers": "*",
"authentication_web_service": "local",
"data_web_service": "local",
"meta_data_web_service": "local",
"data_web_service_max_upload_file_size": 10000000000
}

0 comments on commit 0fcae8c

Please sign in to comment.