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: storage .deploy: variables: STACK: ${PROJECT_PARENT_NAME} SERVICES_TO_CHECK: ${PROJECT_PARENT_NAME}_${CI_PROJECT_NAME} STACK: storage environment: url: https://${CI_PROJECT_NAME}.${PUBLIC_HOSTNAME} deploy/.env +1 −0 Original line number Diff line number Diff line PUBLIC_HOSTNAME=change.me DATA_PATH=/data deploy/docker-compose.dev.yml +0 −11 Original line number Diff line number Diff line version: '3.5' services: minio: deploy: placement: constraints: - node.hostname == ${PLACEMENT_CONSTRAINTS_NODE_HOSTNAME:-hostname} volumes: data-vol: name: ${DATA_VOL_NAME:-minio-data-vol} deploy/docker-compose.tmpl.yml +10 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ services: traefik-net: gitlab-net: volumes: - data-vol:/data - data-vol:${DATA_PATH} deploy: mode: replicated replicas: ${REPLICAS:-1} Loading Loading @@ -47,3 +47,12 @@ networks: name: ${GITLAB_NET_NAME:-gitlab-net} driver: ${GITLAB_NET_DRIVER:-overlay} external: true volumes: data-vol: name: ${DATA_VOL_NAME:-minio-vol} driver: local driver_opts: type: ${VOL_TYPE:-nfs4} o: addr=${VOL_ADDR:-127.0.0.1},${VOL_OPTIONS:-rw,nolock,noatime,tcp,rsize=8192,wsize=8192,timeo=14} device: ${MINIO_VOL_DEVICE:-:/minio-vol/} 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: storage .deploy: variables: STACK: ${PROJECT_PARENT_NAME} SERVICES_TO_CHECK: ${PROJECT_PARENT_NAME}_${CI_PROJECT_NAME} STACK: storage environment: url: https://${CI_PROJECT_NAME}.${PUBLIC_HOSTNAME}
deploy/.env +1 −0 Original line number Diff line number Diff line PUBLIC_HOSTNAME=change.me DATA_PATH=/data
deploy/docker-compose.dev.yml +0 −11 Original line number Diff line number Diff line version: '3.5' services: minio: deploy: placement: constraints: - node.hostname == ${PLACEMENT_CONSTRAINTS_NODE_HOSTNAME:-hostname} volumes: data-vol: name: ${DATA_VOL_NAME:-minio-data-vol}
deploy/docker-compose.tmpl.yml +10 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ services: traefik-net: gitlab-net: volumes: - data-vol:/data - data-vol:${DATA_PATH} deploy: mode: replicated replicas: ${REPLICAS:-1} Loading Loading @@ -47,3 +47,12 @@ networks: name: ${GITLAB_NET_NAME:-gitlab-net} driver: ${GITLAB_NET_DRIVER:-overlay} external: true volumes: data-vol: name: ${DATA_VOL_NAME:-minio-vol} driver: local driver_opts: type: ${VOL_TYPE:-nfs4} o: addr=${VOL_ADDR:-127.0.0.1},${VOL_OPTIONS:-rw,nolock,noatime,tcp,rsize=8192,wsize=8192,timeo=14} device: ${MINIO_VOL_DEVICE:-:/minio-vol/}