-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (48 loc) · 1.2 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
48
49
50
51
version: '3.9'
services:
redis:
container_name: redis
image: redis:latest
restart: always
entrypoint: redis-server --appendonly yes --maxmemory 256mb --maxmemory-policy allkeys-lru
networks:
- default
ports:
- "6379:6379"
volumes:
- ~/appdata/redis/data:/data
db:
container_name: db
image: postgres:15.2-alpine
restart: always
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
ports:
- "5432:5432"
volumes:
- ~/appdata/db:/var/lib/postgresql/data
mq:
image: symptoma/activemq:latest
container_name: 'activemq'
ports:
- "61616:61616"
volumes:
- ~/appdata/activemq/data:/data/activemq
- ~/appdata/activemq/log:/var/log/activemq
sl-monitor-app:
container_name: sl-monitor-app
image: sl-monitor:latest
restart: always
environment:
- TRAFFIC_API_AUTH_KEY=$TRAFFIC_API_AUTH_KEY
- MAIL_USERNAME=$MAIL_USERNAME
- MAIL_PASSWORD=$MAIL_PASSWORD
- DB_HOST=host.docker.internal
- CACHE_HOST=host.docker.internal
ports:
- "4444:4444"
depends_on:
"db":
condition: service_started