-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
38 lines (38 loc) · 1.06 KB
/
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
version: '3'
services:
# The reverse proxy service (Traefik)
reverse-proxy:
image: traefik # The official Traefik docker image
command: --api --docker # Enables the web UI and tells Traefik to listen to docker
ports:
- "80:80" # The HTTP port
- "8080:8080" # The Web UI (enabled by --api)
volumes:
- /var/run/docker.sock:/var/run/docker.sock # So that Traefik can listen to the Docker events
broker:
image: rabbitmq:3
ports:
- "5672:5672"
- "15672:15672"
container_name: broker
restart: always
my-nexus:
image: sonatype/nexus3:3.0.0
ports:
- "8081:8081"
- "8082:8082"
- "8083:8083"
container_name: my-nexus
restart: always
#policyengine:
# build:
# context: .
# dockerfile: Dockerfile
# ports:
# - "8090:8090"
# restart: always
# A container that exposes a sample rule engine
policyengine:
image: policyengine # A container that exposes an API to show it's IP address
labels:
- "traefik.frontend.rule=Host:policyengine.docker.localhost"