-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose-az.yaml
66 lines (64 loc) · 1.85 KB
/
docker-compose-az.yaml
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
version: "3"
services:
dsyslog:
image: jcm2582/rsyslog:1.0
networks:
syslog:
ipv4_address: 10.1.10.2
volumeMounts:
- mountPath: /aci/logs/
name: filesharevolume
# volumes:
# - ./config/rsyslog/rsyslog.conf:/etc/rsyslog.conf
# - ./config/logs.json:/etc/scalyr-agent-2/agent.d/logs.json
# - ./config/default_api_key.json:/etc/scalyr-agent-2/agent.d/default_api_key.json
ports:
- 0.0.0.0:514:514/udp
- 0.0.0.0:514:514/tcp
nginx:
image: nginx:latest
networks:
syslog:
ipv4_address: 10.1.10.10
container_name: production_nginx
# volumes:
# - ./config/nginx/reverse_proxy.conf:/etc/nginx/nginx.conf
# - ./config/nginx/cert/star_xx_com.pem:/etc/nginx/cert/star_xx_com.pem
# - ./config/nginx/cert/star_xx_com.key:/etc/nginx/cert/star_xx_com.key
# - ./config/nginx/cert/star_xx_com.crt:/etc/nginx/cert/star_xx_com.crt
ports:
- 0.0.0.0:6514:514/udp
- 0.0.0.0:6514:514/tcp
expose:
- 514
- 6514
links:
- dsyslog
command: [nginx-debug, '-g', 'daemon off;']
volumeMounts:
- mountPath: /aci/logs/
name: filesharevolume
scalyr-agent:
image: scalyr/scalyr-agent-docker-json:2.0.53
environment:
SCALYR_API_KEY: ""
SCALYR_LABELS_AS_ATTRIBUTES: "true"
SCALYR_IMPLICIT_METRIC_MONITOR: "false"
SCALYR_IMPLICIT_AGENT_PROCESS_METRICS_MONITOR: "false"
SCALYR_REPORT_CONTAINER_METRICS: "false"
# volumes:
# - /var/run/docker.sock:/var/scalyr/docker.sock
# - /var/lib/docker/containers:/var/lib/docker/containers
volumes:
- name: filesharevolume
azureFile:
sharename: acishare
storageAccountName: acishare12345
storageAccountKey: =
networks:
syslog:
driver: bridge
ipam:
config:
- subnet: 10.1.10.0/24
gateway: 10.1.10.1