Commit 0bf7ca53 authored by Lee Brown's avatar Lee Brown

fix docker-compose links

parent d6509052
......@@ -212,16 +212,22 @@ the next section.
This project is using Go Module support for vendoring dependencies.
We are using the `tidy` command to maintain the dependencies and make sure the project can create reproducible builds.
If already on running Go 1.13 and above, Go Modules are enabled by default. You can check the current version of Go by
using the `go version` command.
```bash
$ go version
```
It is required to enable Go Modules for Go 1.12 and below.
```bash
$ GO111MODULE=on go mod tidy
$ echo "export GO111MODULE=on" >> ~/.bash_profile
```
It is recommended to use at least Go 1.12 and enable go modules.
The `tidy` command will fetch all the project dependencies.
```bash
$ echo "export GO111MODULE=on" >> ~/.bash_profile
$ GO111MODULE=on go mod tidy
```
......
......@@ -86,13 +86,14 @@ services:
environment:
- WEB_APP_HTTP_HOST=:3000
- WEB_APP_APP_BASE_URL=http://127.0.0.1:3000
- WEB_API_APP_DEBUG_HOST=:4000
- WEB_APP_APP_DEBUG_HOST=:4000
- WEB_APP_REDIS_HOST=redis:6379
- WEB_APP_DB_HOST=postgres:5432
- WEB_APP_DB_USER=postgres
- WEB_APP_DB_PASS=postgres
- WEB_APP_DB_DATABASE=shared
- WEB_APP_DB_DISABLE_TLS=true
- WEB_API_BASE_URL=http://web-api:3001
- DD_TRACE_AGENT_HOSTNAME=datadog
- DD_TRACE_AGENT_PORT=8126
- DD_SERVICE_NAME=web-app
......@@ -132,6 +133,7 @@ services:
- WEB_API_DB_PASS=postgres
- WEB_API_DB_DATABASE=shared
- WEB_API_DB_DISABLE_TLS=true
- WEB_APP_BASE_URL=http://web-app:3000
- DD_TRACE_AGENT_HOSTNAME=datadog
- DD_TRACE_AGENT_PORT=8126
- DD_SERVICE_NAME=web-app
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment