1
0
mirror of https://github.com/raseels-repos/golang-saas-starter-kit.git synced 2025-07-15 01:34:32 +02:00

fix docker-compose links

This commit is contained in:
Lee Brown
2019-10-15 13:00:02 -08:00
parent d650905287
commit 0bf7ca5387
2 changed files with 14 additions and 6 deletions

View File

@ -212,18 +212,24 @@ 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
$ GO111MODULE=on go mod tidy
```
$ go version
```
It is recommended to use at least Go 1.12 and enable go modules.
It is required to enable Go Modules for Go 1.12 and below.
```bash
$ echo "export GO111MODULE=on" >> ~/.bash_profile
```
The `tidy` command will fetch all the project dependencies.
```bash
$ GO111MODULE=on go mod tidy
```
### Installing Docker

View File

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