「🎉」 init: hello world !
This commit is contained in:
25
docker-compose.yml
Normal file
25
docker-compose.yml
Normal file
@ -0,0 +1,25 @@
|
||||
services:
|
||||
webserver:
|
||||
container_name: random-shit
|
||||
build:
|
||||
context: .
|
||||
dockerfile: docker/dockerfile
|
||||
networks:
|
||||
- traefik-back
|
||||
# ports:
|
||||
# - 80:80
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.docker.network=traefik-back
|
||||
|
||||
- traefik.http.routers.random-shit.rule=host(`random-shit.kanel.ovh`)
|
||||
- traefik.http.routers.random-shit.entrypoints=websecure
|
||||
- traefik.http.routers.random-shit.tls.certresolver=letsencrypt
|
||||
- traefik.http.routers.random-shit.tls=true
|
||||
|
||||
- traefik.http.services.random-shit.loadbalancer.server.port=80
|
||||
- traefik.http.routers.random-shit.service=random-shit
|
||||
networks:
|
||||
traefik-back:
|
||||
external: true
|
Reference in New Issue
Block a user