expose ssh service

This commit is contained in:
Iliyan Ivanov 2020-07-25 22:52:55 +03:00
parent 6d378689dd
commit 24948b272c
Signed by: iliyan
GPG Key ID: A20B95830B5794F3
2 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,7 @@ RUN groupadd gitea -g 1000 \
&& useradd -u 1000 -g 1000 -m gitea -d /app
EXPOSE 3000
EXPOSE 3022
USER gitea

View File

@ -8,6 +8,8 @@ services:
environment:
- VIRTUAL_HOST=gitea-dev
- VIRTUAL_PORT=3000
ports:
- 3022:3022
restart: "unless-stopped"
command: "${FULL_PATH}/setup.sh"
tty: true