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