-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
65 lines (60 loc) · 1.22 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
services:
pokedex:
container_name: graphql_pokemon
image: ghcr.io/favware/graphql-pokemon:latest
restart: always
networks:
- infi
ports:
- '4000:4000'
redis:
command: 'redis-server --requirepass redis'
container_name: dragonite-redis
image: 'redis:alpine'
networks:
- infi
ports:
- '6379:6379'
restart: always
logging:
options:
max-size: '20m'
max-file: '3'
influx:
command: 'influxd run --bolt-path /var/lib/influxdb2/influxd.bolt --engine-path /var/lib/influxdb2/engine --store bolt'
container_name: influxdb
image: 'influxdb:2.7-alpine'
networks:
- infi
ports:
- '1425:8086'
restart: always
volumes:
- 'influx-data:/var/lib/influxdb2'
logging:
options:
max-size: '10m'
max-file: '3'
dragonite:
build:
context: ../
container_name: dragonite
depends_on:
- redis
- influx
env_file:
- src/.env
- src/.env.development.local
image: dragonite:latest
logging:
options:
max-size: '1g'
max-file: '3'
networks:
- infi
restart: always
tty: true
volumes:
influx-data:
networks:
infi: