-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (46 loc) · 948 Bytes
/
docker-compose.yml
File metadata and controls
51 lines (46 loc) · 948 Bytes
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
version: "3"
services:
redis:
image: "redis:alpine"
restart: always
ports:
- "6379:6379"
volumes:
- redis-data:/data
networks:
- studiox-network
nginx:
image: 010709min/nginx
container_name: nginx
restart: always
ports:
- "80:80"
volumes:
- ./nginx/conf.d:/etc/nginx/conf.d
networks:
- studiox-network
alloy:
build:
context: .
dockerfile: config/alloy/Dockerfile.alloy
image: studiox-alloy:latest
user: "0:0"
container_name: alloy
ports:
- "12345:12345"
command:
- run
- --server.http.listen-addr=0.0.0.0:12345
- /etc/alloy/config.alloy
volumes:
- ./logs:/var/log:ro
environment:
- ALLOY_ENV=prod
- LOKI_URL=http://${MONITORING_URL}:3100/loki/api/v1/push
networks:
- studiox-network
volumes:
redis-data:
networks:
studiox-network:
name: studiox-network