-
-
Notifications
You must be signed in to change notification settings - Fork 275
/
Copy pathdocker-compose.yml
39 lines (36 loc) · 959 Bytes
/
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
39
services:
app:
image: l4rm4nd/requestbin:latest
hostname: requestbin
container_name: requestbin
restart: unless-stopped
ports:
- 8000:8000
expose:
- 8000
environment:
REALM: prod
REDIS_URL: "//redis:6379"
links:
- redis
#networks:
# - dev
#labels:
# - traefik.enable=true
# - traefik.docker.network=dev
# - traefik.http.routers.requestbin.rule=Host(`bin.example.com`)
# - traefik.http.services.requestbin.loadbalancer.server.port=8000
# # Optional part for traefik middlewares
# - traefik.http.routers.requestbin.middlewares=local-ipwhitelist@file,authelia@docker
redis:
image: redis:alpine
container_name: requestbin_redis
hostname: redis
restart: unless-stopped
#volumes:
# - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/requestbin/redis:/data
#networks:
# - dev
#networks:
# dev:
# external: true