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