mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
Readd traefik code (commented out)
This commit is contained in:
parent
3d04d51f4f
commit
65b00e47ed
@ -1,6 +1,18 @@
|
|||||||
version: '3'
|
version: '3'
|
||||||
|
|
||||||
services:
|
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:
|
web:
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
@ -9,9 +21,18 @@ services:
|
|||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.role == manager
|
- 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:
|
ports:
|
||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
env_file: nopaque.env
|
|
||||||
image: gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/opaque:development
|
image: gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/opaque:development
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/nopaque:/mnt/nopaque
|
- /mnt/nopaque:/mnt/nopaque
|
||||||
|
Loading…
Reference in New Issue
Block a user