Docker configuration
This commit is contained in:
parent
e2ba6e0029
commit
a368150d6d
5 changed files with 71 additions and 3 deletions
8
docker/dev/docker-compose.yaml
Normal file
8
docker/dev/docker-compose.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
services:
|
||||
|
||||
portfolio:
|
||||
container_name: markus_portfolio
|
||||
image: markusthielker/portfolio:v2.0.0
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "80:3000"
|
19
docker/prod/docker-compose.yaml
Normal file
19
docker/prod/docker-compose.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
services:
|
||||
|
||||
portfolio:
|
||||
container_name: markus_portfolio
|
||||
image: markusthielker/portfolio:v2.0.0
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- web
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.markus-dev-portfolio.rule=Host(`thielker.dev`)
|
||||
- traefik.http.routers.markus-dev-portfolio.entrypoints=websecure
|
||||
- traefik.http.routers.markus-dev-portfolio.tls=true
|
||||
- traefik.http.routers.markus-dev-portfolio.tls.certresolver=lets-encrypt
|
||||
- com.centurylinklabs.watchtower.enable=true
|
||||
|
||||
networks:
|
||||
web:
|
||||
external: true
|
Loading…
Add table
Add a link
Reference in a new issue