Loading .gitlab-ci.yml +1 −3 Original line number Diff line number Diff line include: - project: 'redmic-project/gitlab-ci-templates' ref: master file: '/deployment.yml' file: '/deployment-service/docker-deploy.yml' stages: - deploy Loading @@ -9,5 +9,3 @@ stages: .deploy: variables: STACK: gateway environment: url: http://${PUBLIC_HOSTNAME} deploy/.env +4 −0 Original line number Diff line number Diff line HTTP_INTERNAL_PORT=80 HTTP_PORT=80 PORT_MODE=host AWS_REGION=eu-west-1 ACME_VOL_NAME=acme-vol deploy/docker-compose.dev.yml→deploy/compose.dev.yaml +4 −6 Original line number Diff line number Diff line version: '3.5' services: nginx-proxy-http: deploy: Loading @@ -10,8 +8,8 @@ services: volumes: acme-vol: name: ${ACME_VOL_NAME} driver: local driver: ${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/} type: ${VOL_TYPE:-nfs} o: addr=${VOL_ADDR:-127.0.0.1},vers=${VOL_VERS:-4.2},${VOL_OPTS:-nolock,noacl,noatime,nodiratime} device: :${VOL_DEVICE_PREFIX}${ACME_VOL_DEVICE:-/acme-vol/} deploy/docker-compose.prod.yml→deploy/compose.prod.yaml +0 −2 Original line number Diff line number Diff line version: '3.5' services: nginx-proxy-http: deploy: Loading deploy/docker-compose.tmpl.yml→deploy/compose.tmpl.yaml +4 −6 Original line number Diff line number Diff line version: '3.5' services: nginx-proxy-http: image: ${IMAGE_NAME:-nginx}:${IMAGE_TAG:-alpine} networks: traefik-net: ports: - target: 80 published: 80 mode: host - target: ${HTTP_INTERNAL_PORT} published: ${HTTP_PORT} mode: ${PORT_MODE} volumes: - acme-vol:/var/www/letsencrypt configs: Loading @@ -27,7 +25,7 @@ services: constraints: - node.role == manager restart_policy: delay: ${RESTART_DELAY:-5s} delay: ${RESTART_DELAY:-0s} update_config: delay: ${UPDATE_DELAY:-1m} resources: Loading Loading
.gitlab-ci.yml +1 −3 Original line number Diff line number Diff line include: - project: 'redmic-project/gitlab-ci-templates' ref: master file: '/deployment.yml' file: '/deployment-service/docker-deploy.yml' stages: - deploy Loading @@ -9,5 +9,3 @@ stages: .deploy: variables: STACK: gateway environment: url: http://${PUBLIC_HOSTNAME}
deploy/.env +4 −0 Original line number Diff line number Diff line HTTP_INTERNAL_PORT=80 HTTP_PORT=80 PORT_MODE=host AWS_REGION=eu-west-1 ACME_VOL_NAME=acme-vol
deploy/docker-compose.dev.yml→deploy/compose.dev.yaml +4 −6 Original line number Diff line number Diff line version: '3.5' services: nginx-proxy-http: deploy: Loading @@ -10,8 +8,8 @@ services: volumes: acme-vol: name: ${ACME_VOL_NAME} driver: local driver: ${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/} type: ${VOL_TYPE:-nfs} o: addr=${VOL_ADDR:-127.0.0.1},vers=${VOL_VERS:-4.2},${VOL_OPTS:-nolock,noacl,noatime,nodiratime} device: :${VOL_DEVICE_PREFIX}${ACME_VOL_DEVICE:-/acme-vol/}
deploy/docker-compose.prod.yml→deploy/compose.prod.yaml +0 −2 Original line number Diff line number Diff line version: '3.5' services: nginx-proxy-http: deploy: Loading
deploy/docker-compose.tmpl.yml→deploy/compose.tmpl.yaml +4 −6 Original line number Diff line number Diff line version: '3.5' services: nginx-proxy-http: image: ${IMAGE_NAME:-nginx}:${IMAGE_TAG:-alpine} networks: traefik-net: ports: - target: 80 published: 80 mode: host - target: ${HTTP_INTERNAL_PORT} published: ${HTTP_PORT} mode: ${PORT_MODE} volumes: - acme-vol:/var/www/letsencrypt configs: Loading @@ -27,7 +25,7 @@ services: constraints: - node.role == manager restart_policy: delay: ${RESTART_DELAY:-5s} delay: ${RESTART_DELAY:-0s} update_config: delay: ${UPDATE_DELAY:-1m} resources: Loading