Skip to content
Snippets Groups Projects
Verified Commit 71b4d52f authored by David Beniamine's avatar David Beniamine
Browse files

Working version

parent a1cddd63
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,8 @@ services: ...@@ -4,6 +4,8 @@ services:
sshproxy: sshproxy:
build: build:
context: docker context: docker
networks:
- traefik
environment: environment:
SSH_PUB_KEY: SSH_PUB_KEY:
ports: ports:
...@@ -16,4 +18,9 @@ services: ...@@ -16,4 +18,9 @@ services:
- "traefik.http.routers.${NAME}.entrypoints=web,websecure" - "traefik.http.routers.${NAME}.entrypoints=web,websecure"
- "traefik.http.routers.${NAME}.middlewares=hardening@docker" - "traefik.http.routers.${NAME}.middlewares=hardening@docker"
- "traefik.http.services.${NAME}.loadbalancer.server.port=${HTTPSPORT}" - "traefik.http.services.${NAME}.loadbalancer.server.port=${HTTPSPORT}"
- "traefik.http.services.${NAME}.loadbalancer.server.scheme=https"
networks:
traefik:
external: true
...@@ -2,7 +2,7 @@ FROM debian:latest ...@@ -2,7 +2,7 @@ FROM debian:latest
RUN apt-get update && apt-get upgrade -y && apt-get install -y openssh-server RUN apt-get update && apt-get upgrade -y && apt-get install -y openssh-server
COPY proxy /etc/ssh/ssh_config.d/proxy.conf COPY proxy /etc/ssh/sshd_config.d/proxy.conf
COPY entrypoint /entrypoint COPY entrypoint /entrypoint
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment