docker-compose.yaml 822 Bytes
Newer Older
Prajesh Sharma's avatar
Prajesh Sharma committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
version: '3'
services:
  minio:
    container_name: minio
    image: minio/minio:latest
    hostname: minio-cdc.lcsb.uni.lu
    restart: always
    command: server --console-address :9001 /export

    ports:
    - 9000:9000  # API Server port
    - 9001:9001  # Console port

    environment:
      MINIO_ROOT_USER: 'lcsb-sysadmins'
      MINIO_ROOT_PASSWORD: 'FIX_ME'
      MINIO_SERVER_URL: 'https://minio-cdc.lcsb.uni.lu:9000'
      MINIO_BROWSER_REDIRECT_URL: 'https://minio-cdc.lcsb.uni.lu:9001'

    volumes:
    - /mnt/minio-storage:/export
    - /mnt/withtls/certs:/root/.minio/certs
    # private.key and public.crt files must be in certs dir.

    networks:
      minio_net:
        ipv4_address: 172.18.0.2


networks:
  minio_net:
    ipam:
      driver: default
      config:
       - subnet: "172.18.0.0/16"