mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 02:24:20 +00:00
add traefik, first attempt
This commit is contained in:
parent
19651433cd
commit
ddeee1fd49
@ -1,7 +1,25 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
traefik:
|
||||
command:
|
||||
- "--api.insecure=true"
|
||||
- "--providers.docker=true"
|
||||
- "--providers.docker.exposedbydefault=false"
|
||||
- "--entrypoints.nopaque.address=:5000"
|
||||
image: traefik:2.0
|
||||
ports:
|
||||
- 5000:5000
|
||||
- 9090:8080
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
web:
|
||||
ports:
|
||||
- "5000"
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.nopaque.entrypoints=nopaque"
|
||||
- "traefik.http.routers.nopaque.rule=Host(`nopaque.localhost`)"
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
@ -9,8 +27,6 @@ services:
|
||||
- db.env
|
||||
- web.env
|
||||
image: gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/opaque:development
|
||||
ports:
|
||||
- 5000:5000
|
||||
volumes:
|
||||
- /mnt/nopaque:/mnt/nopaque
|
||||
- ./app:/home/nopaque/app
|
||||
|
Loading…
Reference in New Issue
Block a user