25 lines
1.0 KiB
YAML
25 lines
1.0 KiB
YAML
# Portainer stack: deploy pre-built image from Gitea container registry.
|
|
# Used with stack type "Git repository" — compose path: docker-compose.yml
|
|
# Image is built and pushed by Woodpecker; enable "Re-pull image" in Portainer
|
|
# so webhook redeploys pull the new :latest and recreate the stack.
|
|
|
|
services:
|
|
landing:
|
|
image: ${LANDING_IMAGE:-git.mifi.dev/mifi-ventures/landing:latest}
|
|
container_name: mifi-ventures-landing
|
|
pull_policy: always
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${LANDING_PORT:-8080}:80"
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.docker.network=marina-net"
|
|
- "traefik.http.routers.mifiventures.rule=Host(`mifi.ventures`)"
|
|
- "traefik.http.routers.mifiventures.entrypoints=websecure"
|
|
- "traefik.http.routers.mifiventures.middlewares=secure-all@file,redirect-www-to-non-www@file"
|
|
- "traefik.http.routers.mifiventures.tls=true"
|
|
- "traefik.http.routers.mifiventures.tls.certresolver=letsencrypt"
|
|
networks:
|
|
marina-net:
|
|
external: true
|