mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 10:34:17 +00:00
Readd traefik code (commented out)
This commit is contained in:
parent
3d04d51f4f
commit
65b00e47ed
@ -1,6 +1,18 @@
|
||||
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:
|
||||
depends_on:
|
||||
- db
|
||||
@ -9,9 +21,18 @@ services:
|
||||
placement:
|
||||
constraints:
|
||||
- node.role == manager
|
||||
env_file: nopaque.env
|
||||
# labels:
|
||||
# - "traefik.enable=true"
|
||||
# - "traefik.http.routers.nopaque.entrypoints=nopaque"
|
||||
# - "traefik.http.routers.nopaque.rule=Host(`nopaque.localhost`)"
|
||||
# # Use sticky sessions for load balancing
|
||||
# # Socket.IO is not compatible with cookie sticky sessions which are the
|
||||
# # only available option in traefik
|
||||
# - "traefik.http.services.web-opaque.loadbalancer.sticky=true"
|
||||
# - "traefik.http.services.web-opaque.loadbalancer.sticky.cookie.httpOnly=true"
|
||||
ports:
|
||||
- "5000:5000"
|
||||
env_file: nopaque.env
|
||||
image: gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/opaque:development
|
||||
volumes:
|
||||
- /mnt/nopaque:/mnt/nopaque
|
||||
|
Loading…
Reference in New Issue
Block a user