Remove no longer used Teleport enterprise yaml example (#24073)

This commit is contained in:
Steven Martin
2023-04-05 15:27:53 +00:00
committed by GitHub
parent 31e1a1ec82
commit 25d7ae616d
-31
View File
@@ -1,31 +0,0 @@
version: '2'
services:
# The configure container starts, generates a config, writes it to
# /etc/teleport/teleport.yaml and then immediately exits.
configure:
image: public.ecr.aws/gravitational/teleport-ent:12
container_name: teleport-configure
entrypoint: /bin/sh
hostname: localhost
command: -c "if [ ! -f /etc/teleport/teleport.yaml ]; then teleport configure > /etc/teleport/teleport.yaml; fi"
volumes:
- ./teleport/config:/etc/teleport
# This container depends on the config written by the configure container above, so it
# sleeps for a second on startup to allow the configure container to run first.
teleport:
image: public.ecr.aws/gravitational/teleport-ent:12
container_name: teleport
entrypoint: /bin/sh
hostname: localhost
command: -c "sleep 1 && /usr/bin/dumb-init teleport start -c /etc/teleport/teleport.yaml"
ports:
- "3023:3023"
- "3025:3025"
- "3080:3080"
volumes:
- ./teleport/config:/etc/teleport
- ./teleport/data:/var/lib/teleport
- ./license.pem:/var/lib/teleport/license.pem
depends_on:
- configure