init
This commit is contained in:
26
docker-compose.yml
Normal file
26
docker-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
nex:
|
||||
build:
|
||||
context: /opt/apps/nex
|
||||
dockerfile: Dockerfile
|
||||
container_name: nex
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- traefik_net
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.nex.rule=Host(`nex.appmodel.nl`)"
|
||||
- "traefik.http.routers.nex.entrypoints=websecure"
|
||||
- "traefik.http.routers.nex.tls=true"
|
||||
- "traefik.http.services.nex.loadbalancer.server.port=80"
|
||||
- "traefik.http.routers.nex-http.rule=Host(`nex.appmodel.nl`)"
|
||||
- "traefik.http.routers.nex-http.entrypoints=web"
|
||||
- "traefik.http.routers.nex-http.middlewares=nex-https"
|
||||
- "traefik.http.middlewares.nex-https.redirectscheme.scheme=https"
|
||||
- "traefik.http.routers.auction.tls.certresolver=letsencrypt",
|
||||
- "traefik.http.middlewares.nex-https.redirectscheme.permanent=true"
|
||||
|
||||
networks:
|
||||
traefik_net:
|
||||
external: true
|
||||
name: traefik_net
|
||||
Reference in New Issue
Block a user