-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
47 lines (46 loc) · 1.04 KB
/
docker-compose.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
version: '3.8'
services:
moyeo-redis:
image: redis:alpine
container_name: moyeo-redis
ports:
- 6379:6379
restart: on-failure
networks:
- moyeo-network
moyeo-api:
container_name: moyeo-api
build: .
ports:
- 8081:8080
volumes:
- moyeo-auth-data:${AUTH_DATA_PATH}:rw,Z
env_file:
- .env
depends_on:
- moyeo-redis
networks:
- moyeo-network
moyeo-filebeat:
build:
context: ${ADMIN_PATH}/filebeat
args:
FILEBEAT_VERSION: ${FILEBEAT_VERSION}
# windows DACL
entrypoint: "filebeat -e -strict.perms=false"
environment:
AUTH_DATA_PATH: ${AUTH_DATA_PATH}
LOGSTASH_URL: ${LOGSTASH_URL}
volumes:
- ${ADMIN_PATH}/filebeat/config/filebeat.yml:/usr/share/filebeat/filebeat.yml:rw,Z
- filebeat-data:/usr/share/filebeat
- moyeo-auth-data:${AUTH_DATA_PATH}:rw,Z
networks:
- moyeo-network
volumes:
filebeat-data:
moyeo-auth-data:
networks:
moyeo-network:
external: false
name: moyeo-network