-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.local.yml
29 lines (26 loc) · 1.07 KB
/
docker-compose.local.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
version: '3.8'
services:
nginx:
build:
context: .
dockerfile: Dockerfile
image: cs_unplugged_classic_local_nginx
volumes:
- ./public/:/usr/share/nginx/html/:z
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:z
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf:z
labels:
# General labels
- "traefik.enable=true"
- "traefik.docker.network=uccser-development-stack"
- "traefik.http.services.classic-cs-unplugged-nginx.loadbalancer.server.port=8080"
# HTTPS
- "traefik.http.routers.classic-cs-unplugged-nginx.entryPoints=web-secure"
- "traefik.http.routers.classic-cs-unplugged-nginx.service=classic-cs-unplugged-nginx"
- "traefik.http.routers.classic-cs-unplugged-nginx.rule=Host(`classic.cs-unplugged.localhost`)"
- "traefik.http.routers.classic-cs-unplugged-nginx.tls=true"
networks:
- uccser-development-stack
networks:
uccser-development-stack:
external: true