-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
27 lines (27 loc) · 636 Bytes
/
docker-compose.yml
File metadata and controls
27 lines (27 loc) · 636 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
version: '3.8'
services:
bot:
container_name: bot
build:
context: .
dockerfile: Dockerfile
env_file: .env
restart: unless-stopped
links:
- mongo
- nginx
mongo:
container_name: mongo
image: mongodb/mongodb-community-server
volumes:
- ./data:/data/db
ports:
- "27017:27017"
nginx:
container_name: nginx
image: nginxproxy/nginx-proxy
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro