mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-22 16:23:25 +01:00
Merge pull request #98 from ChristianLempa/97-teleport-13
updated docker compose file
This commit is contained in:
commit
d78bdf1855
@ -1,19 +1,30 @@
|
|||||||
---
|
---
|
||||||
volumes:
|
networks:
|
||||||
teleport-data:
|
frontend:
|
||||||
|
external: true
|
||||||
services:
|
services:
|
||||||
teleport:
|
teleport:
|
||||||
image: quay.io/gravitational/teleport:10.0.2
|
image: public.ecr.aws/gravitational/teleport-distroless:13
|
||||||
user: 1000:1000
|
|
||||||
container_name: teleport
|
container_name: teleport
|
||||||
entrypoint: /bin/sh
|
|
||||||
command: -c "/usr/bin/dumb-init teleport start -d -c /etc/teleport/teleport.yml"
|
|
||||||
ports:
|
ports:
|
||||||
- 3023:3023
|
- "3080:3080"
|
||||||
- 3024:3024
|
- "3023:3023"
|
||||||
- 3025:3025
|
- "3024:3024"
|
||||||
- 443:443
|
- "3025:3025"
|
||||||
volumes:
|
volumes:
|
||||||
- .config:/etc/teleport
|
- ./config:/etc/teleport
|
||||||
- teleport-data:/var/lib/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
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user