-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.bibigrid.yml
63 lines (59 loc) · 1.68 KB
/
docker-compose.bibigrid.yml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
version: '3.5'
services:
simplevm-client:
container_name: simplevm-client
image: quay.io/denbicloud/simplevm-client:${CLOUD_PORTAL_CLIENT_TAG}
ports:
- ${CLIENT_PORT}:9090
env_file:
- .env
environment:
- TERM=xterm-256color
tty: true
volumes:
- ${client_PERSISTENT_PATH}/config.yml:/code/simple_vm_client/config.yml
- ${client_PERSISTENT_PATH}/server.pem:/code/simple_vm_client/keys/server.pem
- ${client_PERSISTENT_PATH}/server.pem:/code/simple_vm_client/keys/CA.pem
- ./logs/client:/code/simple_vm_client/log:rw
command: python3 VirtualMachineServer.py /code/simple_vm_client/config.yml
networks:
- portal
simplevm_client_redis:
container_name: simplevm_client_redis
image: redis:7.4.1
expose:
- "6379"
networks:
- portal
simplevm_bibigrid:
container_name: simplevm_bibigrid
image: quay.io/denbicloud/bibigrid:${BIBIGRID_TAG}
volumes:
- ./scripts/bibigrid/clear_keys_cron:/etc/crontabs/root
env_file:
- .env
environment:
- server.enableHttps=false
- server.enableHttp=true
expose:
- "8080"
networks:
- portal
# filebeat
simplevm_filebeat:
image: docker.elastic.co/beats/filebeat:8.15.3
env_file:
- .env
volumes:
- ./filebeat/filebeat.yml:/usr/share/filebeat/filebeat.yml
- ./logs:/usr/share/filebeat/log:ro
- ./filebeat/data:/usr/share/filebeat/data:rw
command: [sh, -c, "chmod go-w /usr/share/filebeat/filebeat.yml && filebeat run -e"]
networks:
- portal
networks:
portal:
name: portal
driver: bridge
driver_opts:
com.docker.network.driver.mtu: 1440