expose ssh service
This commit is contained in:
parent
6d378689dd
commit
24948b272c
@ -14,6 +14,7 @@ RUN groupadd gitea -g 1000 \
|
|||||||
&& useradd -u 1000 -g 1000 -m gitea -d /app
|
&& useradd -u 1000 -g 1000 -m gitea -d /app
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
EXPOSE 3022
|
||||||
|
|
||||||
USER gitea
|
USER gitea
|
||||||
|
|
||||||
|
|||||||
@ -8,6 +8,8 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- VIRTUAL_HOST=gitea-dev
|
- VIRTUAL_HOST=gitea-dev
|
||||||
- VIRTUAL_PORT=3000
|
- VIRTUAL_PORT=3000
|
||||||
|
ports:
|
||||||
|
- 3022:3022
|
||||||
restart: "unless-stopped"
|
restart: "unless-stopped"
|
||||||
command: "${FULL_PATH}/setup.sh"
|
command: "${FULL_PATH}/setup.sh"
|
||||||
tty: true
|
tty: true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user