Skip to content

Commit

Permalink
Fix Docker Quickstart configuration paths (gravitational#4116)
Browse files Browse the repository at this point in the history
  • Loading branch information
webvictim authored Jul 24, 2020
1 parent 1077ceb commit a1ac0ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/teleport-ent-quickstart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
container_name: teleport-configure
entrypoint: /bin/sh
hostname: localhost
command: -c "if [ ! -f /etc/teleport/teleport.yaml ]; then /usr/local/bin/teleport configure > /etc/teleport/teleport.yaml; fi"
command: -c "if [ ! -f /etc/teleport/teleport.yaml ]; then teleport configure > /etc/teleport/teleport.yaml; fi"
volumes:
- ./teleport/config:/etc/teleport

Expand All @@ -18,7 +18,7 @@ services:
container_name: teleport
entrypoint: /bin/sh
hostname: localhost
command: -c "sleep 1 && /usr/local/bin/teleport start"
command: -c "sleep 1 && /usr/local/bin/dumb-init teleport start -c /etc/teleport/teleport.yaml"
ports:
- "3023:3023"
- "3025:3025"
Expand Down
4 changes: 2 additions & 2 deletions docker/teleport-quickstart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
container_name: teleport-configure
entrypoint: /bin/sh
hostname: localhost
command: -c "if [ ! -f /etc/teleport/teleport.yaml ]; then /usr/local/bin/teleport configure > /etc/teleport/teleport.yaml; fi"
command: -c "if [ ! -f /etc/teleport/teleport.yaml ]; then teleport configure > /etc/teleport/teleport.yaml; fi"
volumes:
- ./teleport/config:/etc/teleport

Expand All @@ -18,7 +18,7 @@ services:
container_name: teleport
entrypoint: /bin/sh
hostname: localhost
command: -c "sleep 1 && /usr/local/bin/teleport start"
command: -c "sleep 1 && /usr/local/bin/dumb-init teleport start -c /etc/teleport/teleport.yaml"
ports:
- "3023:3023"
- "3025:3025"
Expand Down

0 comments on commit a1ac0ec

Please sign in to comment.