From d4b757162febe33721c8f53bbbf5ba79c3704ced Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Mon, 23 Mar 2020 15:14:51 +0100 Subject: [PATCH] Open up SSH ports --- Dockerfile | 1 + ansible/post-deploy.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1961b20..8d92a57 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM gitea/gitea:1.11.3 EXPOSE 3000 +EXPOSE 2222 COPY . ${WORKDIR} diff --git a/ansible/post-deploy.yml b/ansible/post-deploy.yml index 9f430a7..6ff12fd 100644 --- a/ansible/post-deploy.yml +++ b/ansible/post-deploy.yml @@ -13,6 +13,7 @@ app: gitea mappings: - "http:80:3000" + - "http:22:2222" state: present - name: Setup LE certificates @@ -30,6 +31,7 @@ app: gitea mappings: - "http:3000:3000" + - "http:2222:2222" state: absent - name: Set HTTP 443 port