Commit b1e8495a authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Define configuración de volumen por entornos

parent ff7360aa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8,3 +8,4 @@ KAFKA_MANAGER_PASSWORD=changeme
VOL_TYPE=nfs4
VOL_ADDR=127.0.0.1
VOL_OPTIONS=rw,nolock,noatime,tcp,rsize=8192,wsize=8192,timeo=14
CONF_VOL_NAME=cmak-conf-vol
+9 −0
Original line number Diff line number Diff line
version: '3.5'

volumes:
  conf-vol:
    name: ${CONF_VOL_NAME}
    driver: local
    driver_opts:
      type: ${VOL_TYPE}
      o: addr=${VOL_ADDR},${VOL_OPTIONS}
      device: :/cmak-conf-vol/
+7 −0
Original line number Diff line number Diff line
version: '3.5'

volumes:
  conf-vol:
    name: ${CONF_VOL_NAME}
    driver: 'cloudstor:aws'
    driver_opts:
      backing: shared
+0 −9
Original line number Diff line number Diff line
@@ -52,12 +52,3 @@ networks:
    name: ${TRAEFIK_NET_NAME:-traefik-net}
    driver: ${TRAEFIK_NET_DRIVER:-overlay}
    external: true

volumes:
  conf-vol:
    name: ${CONF_VOL_NAME:-cmak-conf-vol}
    driver: local
    driver_opts:
      type: ${VOL_TYPE}
      o: addr=${VOL_ADDR},${VOL_OPTIONS}
      device: :/cmak-conf-vol/