Browse Source

traefik

master
drfelfel 1 year ago
parent
commit
4d1813f9a0
1 changed files with 18 additions and 9 deletions
  1. +18
    -9
      docker-compose.yml

+ 18
- 9
docker-compose.yml View File

@ -1,18 +1,27 @@
version: '2'
services:
sandbox.web:
build:
context: .
args:
env: sandbox
ports:
- "8080:80"
app.web:
build:
context: .
args:
env: prod
ports:
- "8081:80"
labels:
- "traefik.enable=true"
- traefik.backend=kateb-panel
- traefik.frontend.rule=Host:panel.kateb.rayda.ir
- traefik.docker.network=web
- traefik.port=80
networks:
- web
- internal
networks:
web:
external: true
internal:
external: false

Loading…
Cancel
Save