-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (36 loc) · 950 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (36 loc) · 950 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
version: '3'
services:
reverse-proxy:
image: traefik:latest
command:
- "--log.level=DEBUG"
- "--log.filePath=/var/log/traefik/traefik.log"
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.network=traefik-public"
- "--providers.docker.exposedbydefault=false"
- "--providers.docker.endpoint=unix:///var/run/docker.sock"
- "--entrypoints.web.address=:80"
- "--entrypoints.websecure.address=:443"
- "--entrypoints.mysql.address=:3306"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/log/traefik:/var/log/traefik
ports:
- 80:80
- 3306:3306
- 8080:8080
restart: always
networks:
- traefik-public
rabbitmq:
build: docker/rabbitmq
ports:
- 15672:15672
- 5672:5672
restart: always
networks:
- traefik-public
networks:
traefik-public:
name: traefik-public