docker-compose.yml 2.38 KB
Newer Older
1
2
version: "3.3"
services:
Nikola Hardi's avatar
Nikola Hardi committed
3
4
  JCentral-dev:
    image: jalien-base
5
    command: /jalien-setup/bash-setup/entrypoint.sh
6
    hostname: JCentral-dev
7
    ports:
8
9
10
11
      - 8098:8098 # Java binary serialization
      - 8097:8097 # JSON WebSocket
      - 3307:3307 # MySQL
      - 8389:8389 # LDAP
12
13
    volumes:
      - $SHARED_VOLUME:/jalien-dev
14
      - $JALIEN_SETUP_DIR:/jalien-setup:ro
Nikola Hardi's avatar
Nikola Hardi committed
15
16
    environment:
      SE_HOST: JCentral-dev-SE
17

Nikola Hardi's avatar
Nikola Hardi committed
18
  JCentral-dev-SE:
19
    image: xrootd-se
20
    entrypoint: bash -c
Nikola Hardi's avatar
Nikola Hardi committed
21
    command: xrootd -c /etc/xrootd/xrootd-standalone.cfg
22
    hostname: JCentral-dev-SE
23
    ports:
24
      - 1094:1094 # XRootD
25
26
27
28
    volumes:
      - $SHARED_VOLUME:/jalien-dev
      - jsite-storage:/shared-volume

29
30
31
32
33
34
  schedd:
    image: "htcondor/cm:8.9.6-el7"
    environment:
      USE_POOL_PASSWORD: "yes"
    volumes:
      - $JALIEN_SETUP_DIR/ce-setup/htcondor-conf/pool_password:/root/secrets/pool_password
35
      
36
37
38
39
40
41
  worker:
    image: "htcondor/execute:8.9.6-el7"
    command: bash /ce-setup/cvmfs-checker.sh
    environment:
      CONDOR_HOST: "schedd"
      USE_POOL_PASSWORD: "yes"
42
      NUM_CPUS: 8
43
44
45
46
47
    volumes:
      - /cvmfs/alice.cern.ch:/cvmfs/alice.cern.ch
      - $JALIEN_SETUP_DIR/ce-setup:/ce-setup:ro
      - $SHARED_VOLUME:/jalien-dev
      - $JALIEN_SETUP_DIR/ce-setup/htcondor-conf/pool_password:/root/secrets/pool_password
48
      - $JALIEN_SETUP_DIR/ce-setup/htcondor-conf/01-slotusers.conf:/etc/condor/config.d/01-slotusers.conf 
49

50
  JCentral-dev-CE:
51
    image: "jalien-base"
52
    command: bash /ce-setup/ce-entrypoint.sh first
53
54
55
56
    hostname: "localhost.localdomain"
    environment:
      CONDOR_HOST: "schedd"
      USE_POOL_PASSWORD: "yes"
57
      LD_LIBRARY_PATH: "/tmp"
58
59
60
61
62
    volumes:
      - /cvmfs/alice.cern.ch:/cvmfs/alice.cern.ch
      - $SHARED_VOLUME:/jalien-dev
      - $JALIEN_SETUP_DIR/ce-setup:/ce-setup:ro
      - $JALIEN_SETUP_DIR/ce-setup/htcondor-conf/pool_password:/root/secrets/pool_password
63
        
64
65
66
67
68
69
70
71
72
73
74
75
76
  JCentral-dev-CE-second:
    image: "jalien-base"
    command: bash /ce-setup/ce-entrypoint.sh second
    hostname: "localhost2.localdomain"
    environment:
      CONDOR_HOST: "schedd"
      USE_POOL_PASSWORD: "yes"
      LD_LIBRARY_PATH: "/tmp"
    volumes:
      - /cvmfs/alice.cern.ch:/cvmfs/alice.cern.ch
      - $SHARED_VOLUME:/jalien-dev
      - $JALIEN_SETUP_DIR/ce-setup:/ce-setup:ro
      - $JALIEN_SETUP_DIR/ce-setup/htcondor-conf/pool_password:/root/secrets/pool_password
77

78
79
volumes:
  jsite-storage:
80