mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 17:12:43 +00:00
feat: add minimal deployment
This commit is contained in:
30
docker-compose.yml
Normal file
30
docker-compose.yml
Normal 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"
|
||||
|
||||
Reference in New Issue
Block a user