feat: add minimal deployment

This commit is contained in:
Anselm Stordeur
2019-01-22 13:39:04 +01:00
commit d3a9f38539
4 changed files with 242 additions and 0 deletions

30
docker-compose.yml Normal file
View File

@@ -0,0 +1,30 @@
version: '2'
services:
database:
image: registry.gitlab.com/openstapps/database:master
volumes:
- ./database:/usr/share/elasticsearch/data
expose:
- "9200"
backend:
image: registry.gitlab.com/openstapps/backend/default:master
environment:
ES_PORT_9200_TCP_ADDR: database
ES_PORT_9200_TCP_PORT: 9200
NODE_CONFIG_ENV: "elasticsearch"
ALLOW_NO_TRANSPORT: "true"
expose:
- 3000
ports:
- 3000:3000
links:
- "database"
labels:
- stapps.version=1.0.0
api:
image: registry.gitlab.com/openstapps/api/copy:v0.0.3
links:
- "backend"