forked from TrucklineMP/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (28 loc) · 765 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
30 lines (28 loc) · 765 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
services:
docs:
build: .
container_name: truckline-docs
restart: unless-stopped
ports:
- "3995:80"
networks:
- truckline-network
webhook:
build:
context: ./deploy
dockerfile: webhook.Dockerfile
container_name: truckline-docs-webhook
restart: unless-stopped
environment:
- WEBHOOK_SECRET=${WEBHOOK_SECRET:?WEBHOOK_SECRET is required}
- DEPLOY_SCRIPT=/app/deploy.sh
- PORT=9000
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /home/truckline/web_servers/docs:/home/truckline/web_servers/docs
- /var/log/truckline-docs-deploy.log:/var/log/truckline-docs-deploy.log
networks:
- truckline-network
networks:
truckline-network:
external: true