christianlempa-boilerplates/docker-compose/teleport/docker-compose.yaml

30 lines
1.0 KiB
YAML
Raw Normal View History

2023-05-25 14:26:13 +02:00
---
2023-07-25 13:18:42 +02:00
networks:
frontend:
external: true
2022-08-30 19:01:48 +02:00
services:
teleport:
2023-07-25 13:18:42 +02:00
image: public.ecr.aws/gravitational/teleport-distroless:13
2022-08-30 19:01:48 +02:00
container_name: teleport
ports:
2023-07-25 13:18:42 +02:00
- "3080:3080"
- "3023:3023"
- "3024:3024"
- "3025:3025"
2022-08-30 19:01:48 +02:00
volumes:
2023-07-25 13:18:42 +02:00
- ./config:/etc/teleport
- ./data:/var/lib/teleport
labels: {}
# -- (Optional) Traefik example configuration
# traefik.enable: "true"
# traefik.http.services.teleport.loadbalancer.server.port: "3080"
# traefik.http.services.teleport.loadbalancer.server.scheme: "https"
# traefik.http.routers.teleport-http.entrypoints: "web"
# traefik.http.routers.teleport-http.rule: "Host(`your-server-url`)"
# traefik.http.routers.teleport-https.entrypoints: "websecure"
# traefik.http.routers.teleport-https.rule: "Host(`your-server-url`)"
# traefik.http.routers.teleport-https.tls: "true"
# traefik.http.routers.teleport-https.tls.certresolver: "your-certresolver"
networks:
- frontend
2023-05-25 14:26:13 +02:00
restart: unless-stopped