-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
48 lines (46 loc) · 934 Bytes
/
docker-compose.dev.yml
File metadata and controls
48 lines (46 loc) · 934 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
services:
main:
container_name: bot
build:
context: ./
dockerfile: dev.Dockerfile
networks:
- annoybot-network
env_file:
- .env
- .env.local
volumes:
- ./src:/app/src
- ./db:/app/db
restart: unless-stopped
depends_on:
- db
- redis
db:
container_name: db
image: ghcr.io/tursodatabase/libsql-server
networks:
- annoybot-network
env_file:
- .env
- .env.local
volumes:
- ./db/local.db:/var/lib/sqld
restart: unless-stopped
ports:
- 127.0.0.1:8080:8080
redis:
container_name: redis
build:
dockerfile: redis.Dockerfile
networks:
- annoybot-network
restart: unless-stopped
depends_on:
- db
ports:
- 127.0.0.1:6379:6379
networks:
annoybot-network:
name: annoybot-network
driver: bridge