-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
44 lines (43 loc) · 974 Bytes
/
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
services:
aicbot-mongo:
container_name: aicbot-mongo
image: bitnami/mongodb:latest
restart: always
env_file:
- path: ./.env.production
required: false
- path: ./.env.development
required: false
volumes:
- 'aicbot-mongo-volume:/bitnami/mongodb'
ports:
- '27017:27017'
aicbot:
container_name: aicbot
image: alexincube/aicotest:latest
restart: always
deploy:
restart_policy:
condition: on-failure
delay: 15s
max_attempts: 3
window: 120s
#command: sleep infinity
build: .
env_file:
- path: ./.env.production
required: false
- path: ./.env.development
required: false
volumes:
- type: bind
source: ./yt-cookies.json
target: /bot/yt-cookies.json
read_only: false
links:
- aicbot-mongo
depends_on:
- aicbot-mongo
volumes:
aicbot-mongo-volume:
external: true