diff --git a/Dockerfile b/Dockerfile index 3e9881a3..e0abbc65 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,3 @@ FROM golang:onbuild -COPY config-example.json /usr/bin/config.json +COPY config_example.json config.json diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 00000000..edc093cc --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,13 @@ +version: '2' +services: + web: + build: web/ + hostname: gocryptotraderweb + container_name: web + ports: + - "3333:80" + cli: + build: . + hostname: gocryptotrader + container_name: daemon + privileged: true diff --git a/web/Dockerfile b/web/Dockerfile index 2e7d9577..bf45650a 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -1 +1 @@ -FROM node-onbuild +FROM node:onbuild