2023-05-25 14:26:13 +02:00
|
|
|
---
|
2023-08-16 11:28:44 +02:00
|
|
|
# -- (Optional) When using Traefik, use this section
|
|
|
|
# networks:
|
|
|
|
# your-traefik-network:
|
|
|
|
# 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-08-16 11:28:44 +02:00
|
|
|
# -- (Optional) Remove this section, when using Traefik
|
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
|
2023-08-09 10:39:13 +02:00
|
|
|
# - "traefik.enable=true"
|
2023-08-16 11:28:44 +02:00
|
|
|
# - "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=HostRegexp(`your-server-url`, `{subhost:[a-z]+}.your-server-url`)"
|
|
|
|
# - "traefik.http.routers.teleport-https.entrypoints=websecure"
|
|
|
|
# - "traefik.http.routers.teleport-https.rule=HostRegexp(`your-server-url`, `{subhost:[a-z]+}.your-server-url`)"
|
|
|
|
# - "traefik.http.routers.teleport-https.tls=true"
|
|
|
|
# - "traefik.http.routers.teleport-https.tls.certresolver=your-certresolver"
|
|
|
|
# - "traefik.http.routers.teleport-https.tls.domains[0].main=your-server-url"
|
|
|
|
# - "traefik.http.routers.teleport-https.tls.domains[0].sans=*.your-server-url"
|
2023-07-25 13:18:42 +02:00
|
|
|
networks:
|
|
|
|
- frontend
|
2023-08-16 11:28:44 +02:00
|
|
|
restart: unless-stopped
|