mirror of
https://github.com/yldio/copilot.git
synced 2024-11-30 23:20:06 +02:00
parent
7ffaba66a5
commit
04264931b5
@ -16,7 +16,6 @@ get_triton_details
|
||||
write_env_file
|
||||
|
||||
docker-compose build
|
||||
docker login -e="." -u="$_DOCKER_LOGIN_USERNAME" -p="$_DOCKER_LOGIN_PASSWORD" $_DOCKER_REGISTRY
|
||||
docker-compose push
|
||||
|
||||
export DOCKER_HOST=$_DOCKER_HOST
|
||||
|
@ -1,5 +1,3 @@
|
||||
version: '2'
|
||||
services:
|
||||
#############################################################################
|
||||
# CONSUL
|
||||
#############################################################################
|
||||
@ -24,7 +22,6 @@ services:
|
||||
# CloudAPI GraphQL
|
||||
#############################################################################
|
||||
cloudapi:
|
||||
image: quay.io/yldio/joyent-dashboard-cloudapi-graphql
|
||||
build: ./cloudapi-graphql
|
||||
mem_limit: 128m
|
||||
labels:
|
||||
|
@ -1,5 +1,3 @@
|
||||
version: '2'
|
||||
services:
|
||||
consul:
|
||||
extends:
|
||||
file: docker-compose.yml
|
||||
@ -10,8 +8,8 @@ services:
|
||||
extends:
|
||||
file: docker-compose.yml
|
||||
service: cloudapi
|
||||
depends_on:
|
||||
- consul
|
||||
links:
|
||||
- consul:consul
|
||||
environment:
|
||||
- PORT=3000
|
||||
- ROOT_URL=http://localhost:3000
|
||||
@ -20,8 +18,8 @@ services:
|
||||
extends:
|
||||
file: docker-compose.yml
|
||||
service: backend
|
||||
depends_on:
|
||||
- consul
|
||||
links:
|
||||
- consul:consul
|
||||
environment:
|
||||
- PORT=8000
|
||||
- ROOT_URL=http://localhost:8000
|
||||
|
Loading…
Reference in New Issue
Block a user