This repository has been archived by the owner on May 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.bibigrid.yml
68 lines (64 loc) · 1.79 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
64
65
66
67
68
version: '3.5'
services:
portal-client:
container_name: client
image: quay.io/denbicloud/cloud-portal-client:${CLOUD_PORTAL_CLIENT_TAG}
ports:
- ${CLIENT_PORT}:9090
env_file:
- .env
volumes:
- ${client_PERSISTENT_PATH}/config.yml:/code/VirtualMachineService/config.yml
- ${client_PERSISTENT_PATH}/server.pem:/code/VirtualMachineService/keys/server.pem
- ${client_PERSISTENT_PATH}/CA.pem:/code/VirtualMachineService/keys/CA.pem
- ./logs/client:/code/VirtualMachineService/log:rw
command: python3 VirtualMachineServer.py /code/VirtualMachineService/config.yml
depends_on:
- client_redis
networks:
- portal
client_redis:
container_name: client_redis
image: redis:7.0.12
expose:
- "6379"
healthcheck:
test: [ "CMD", "redis-cli", "--raw", "incr", "ping" ]
networks:
- portal
bibigrid:
container_name: 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
filebeat:
image: docker.elastic.co/beats/filebeat:8.8.2
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_default
driver: bridge
driver_opts:
com.docker.network.driver.mtu: 1440
default:
driver: bridge
driver_opts:
com.docker.network.driver.mtu: 1440