1
0
mirror of https://github.com/yldio/copilot.git synced 2024-09-21 05:43:52 +03:00

fix: downgrade compose version

This commit is contained in:
Sérgio Ramos 2017-05-30 19:04:51 +01:00
parent fdbfeb2e37
commit 96abc2a8bc

View File

@ -1,14 +1,11 @@
version: "2" #############################################################################
# CONSUL
services: #
############################################################################# # Consul is the service catalog that helps discovery between the components
# CONSUL # Change "-bootstrap" to "-bootstrap-expect 3", then scale to 3 or more to
# # turn this into an HA Consul raft.
# Consul is the service catalog that helps discovery between the components #############################################################################
# Change "-bootstrap" to "-bootstrap-expect 3", then scale to 3 or more to consul:
# turn this into an HA Consul raft.
#############################################################################
consul:
image: autopilotpattern/consul:latest image: autopilotpattern/consul:latest
command: > command: >
/usr/local/bin/containerpilot /usr/local/bin/containerpilot
@ -26,13 +23,13 @@ services:
- triton.cns.services=consul-$CIRCLE_BRANCH - triton.cns.services=consul-$CIRCLE_BRANCH
- com.docker.swarm.affinities=["container!=~*"] - com.docker.swarm.affinities=["container!=~*"]
############################################################################# #############################################################################
# PROMETHEUS # PROMETHEUS
# #
# Prometheus is an open source performance monitoring tool # Prometheus is an open source performance monitoring tool
# it is included here for demo purposes and is not required # it is included here for demo purposes and is not required
############################################################################# #############################################################################
prometheus: prometheus:
image: autopilotpattern/prometheus:latest image: autopilotpattern/prometheus:latest
restart: always restart: always
mem_limit: 1g mem_limit: 1g
@ -42,10 +39,10 @@ services:
- triton.cns.services=prometheus-$CIRCLE_BRANCH - triton.cns.services=prometheus-$CIRCLE_BRANCH
- com.docker.swarm.affinities=["container!=~*prometheus*"] - com.docker.swarm.affinities=["container!=~*prometheus*"]
############################################################################# #############################################################################
# STYLEGUIDE # STYLEGUIDE
############################################################################# #############################################################################
styleguide: styleguide:
build: build:
context: . context: .
dockerfile: ./packages/ui-toolkit/Dockerfile dockerfile: ./packages/ui-toolkit/Dockerfile
@ -59,10 +56,10 @@ services:
- CONSUL_AGENT=1 - CONSUL_AGENT=1
- PORT=6060 - PORT=6060
############################################################################# #############################################################################
# FRONTEND # FRONTEND
############################################################################# #############################################################################
cp-frontend: cp-frontend:
build: build:
context: . context: .
dockerfile: ./packages/cp-frontend/Dockerfile dockerfile: ./packages/cp-frontend/Dockerfile
@ -76,10 +73,10 @@ services:
ports: ports:
- 3069:3069 - 3069:3069
############################################################################# #############################################################################
# BACKEND # BACKEND
############################################################################# #############################################################################
gql-mock-server: gql-mock-server:
build: build:
context: . context: .
dockerfile: ./packages/cp-gql-mock-server/Dockerfile dockerfile: ./packages/cp-gql-mock-server/Dockerfile