Loading .gitlab-ci.yml +1 −5 Original line number Diff line number Diff line Loading @@ -6,12 +6,8 @@ include: stages: - deploy variables: PROJECT_PARENT_NAME: gateway .deploy: variables: STACK: ${PROJECT_PARENT_NAME} SERVICES_TO_CHECK: ${PROJECT_PARENT_NAME}_${CI_PROJECT_NAME} STACK: gateway environment: url: http://${PUBLIC_HOSTNAME} deploy/docker-compose.dev.yml +9 −1 Original line number Diff line number Diff line Loading @@ -5,5 +5,13 @@ services: deploy: placement: constraints: - node.hostname == ${PLACEMENT_CONSTRAINTS_NODE_HOSTNAME:-hostname} - node.labels.${PLACEMENT_CONSTRAINTS_NODE_LABELS_NAME:-gateway} == ${PLACEMENT_CONSTRAINTS_NODE_LABELS_VALUE:-true} volumes: acme-vol: name: ${ACME_VOL_NAME:-acme-vol} driver: local driver_opts: type: ${ACME_VOL_TYPE:-nfs4} o: addr=${ACME_VOL_ADDR:-127.0.0.1},${ACME_VOL_OPTIONS:-rw,nolock,noatime,tcp,rsize=8192,wsize=8192,timeo=14} device: ${ACME_VOL_DEVICE:-:/acme-vol/} deploy/docker-compose.prod.yml +4 −0 Original line number Diff line number Diff line Loading @@ -6,3 +6,7 @@ services: placement: constraints: - engine.labels.availability_zone == ${AWS_REGION}a volumes: acme-vol: name: ${ACME_VOL_NAME:-acme-vol} deploy/docker-compose.tmpl.yml +1 −5 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ services: memory: ${RESOURCES_LIMITS_MEMORY:-32M} reservations: cpus: '${RESOURCES_RESERVATIONS_CPUS:-0.001}' memory: ${RESOURCES_RESERVATIONS_MEMORY:-4M} memory: ${RESOURCES_RESERVATIONS_MEMORY:-6M} networks: traefik-net: Loading @@ -44,10 +44,6 @@ networks: driver: ${TRAEFIK_NET_DRIVER:-overlay} external: true volumes: acme-vol: name: ${ACME_VOL_NAME:-acme-vol} configs: nginx-config: name: ${NGINX_CONFIG_NAME:-nginx-proxy-http-config} Loading Loading
.gitlab-ci.yml +1 −5 Original line number Diff line number Diff line Loading @@ -6,12 +6,8 @@ include: stages: - deploy variables: PROJECT_PARENT_NAME: gateway .deploy: variables: STACK: ${PROJECT_PARENT_NAME} SERVICES_TO_CHECK: ${PROJECT_PARENT_NAME}_${CI_PROJECT_NAME} STACK: gateway environment: url: http://${PUBLIC_HOSTNAME}
deploy/docker-compose.dev.yml +9 −1 Original line number Diff line number Diff line Loading @@ -5,5 +5,13 @@ services: deploy: placement: constraints: - node.hostname == ${PLACEMENT_CONSTRAINTS_NODE_HOSTNAME:-hostname} - node.labels.${PLACEMENT_CONSTRAINTS_NODE_LABELS_NAME:-gateway} == ${PLACEMENT_CONSTRAINTS_NODE_LABELS_VALUE:-true} volumes: acme-vol: name: ${ACME_VOL_NAME:-acme-vol} driver: local driver_opts: type: ${ACME_VOL_TYPE:-nfs4} o: addr=${ACME_VOL_ADDR:-127.0.0.1},${ACME_VOL_OPTIONS:-rw,nolock,noatime,tcp,rsize=8192,wsize=8192,timeo=14} device: ${ACME_VOL_DEVICE:-:/acme-vol/}
deploy/docker-compose.prod.yml +4 −0 Original line number Diff line number Diff line Loading @@ -6,3 +6,7 @@ services: placement: constraints: - engine.labels.availability_zone == ${AWS_REGION}a volumes: acme-vol: name: ${ACME_VOL_NAME:-acme-vol}
deploy/docker-compose.tmpl.yml +1 −5 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ services: memory: ${RESOURCES_LIMITS_MEMORY:-32M} reservations: cpus: '${RESOURCES_RESERVATIONS_CPUS:-0.001}' memory: ${RESOURCES_RESERVATIONS_MEMORY:-4M} memory: ${RESOURCES_RESERVATIONS_MEMORY:-6M} networks: traefik-net: Loading @@ -44,10 +44,6 @@ networks: driver: ${TRAEFIK_NET_DRIVER:-overlay} external: true volumes: acme-vol: name: ${ACME_VOL_NAME:-acme-vol} configs: nginx-config: name: ${NGINX_CONFIG_NAME:-nginx-proxy-http-config} Loading