Skip to content
Snippets Groups Projects
Commit ffe88ddc authored by Lyuben Penkovski's avatar Lyuben Penkovski
Browse files

Merge branch 'initial-docker-compose' into 'master'

Add redis and initial README.md

See merge request !1
parents 815bd0ff c8f52e99
No related branches found
No related tags found
1 merge request!1Add redis and initial README.md
# workspace
This is a local development workspace for Trust Services API backend.
It uses docker-compose to bootstrap the services and their dependencies.
Each service has its own `.env` file in the [env](./env) directory
with environment variables which will be injected in its container.
## Prerequisites
* Install [docker](https://docs.docker.com/engine/install/) and [docker-compose](https://docs.docker.com/compose/install/).
* [Install Go](https://golang.org/doc/install) and set the
[`$GOPATH` variable](https://github.com/golang/go/wiki/SettingGOPATH).
## Setup Workspace
TODO
## 3rd Party Services
#### Redis
The Redis server can be reached at `localhost:6397` from your
local machine.
The services access Redis from their containers as `redis:6397`
version: '3.4'
services:
redis:
image: "redis:alpine"
container_name: redis
ports:
- "6379:6379"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment