Gitea to listen only on host ports so as to expose ports outside only using the reverse proxy
This commit is contained in:
1 parent
5cda2c5eff
commit
e8ef0b252f
3 files changed
+5
-6
No files matched your search
+1
-1
@@ -34,7 +34,7 @@
|
||||
USER_UID: "{{ getent_passwd[user][1] }}"
|
||||
USER_GID: "{{ getent_passwd[user][2] }}"
|
||||
published_ports:
|
||||
- "3000:3000"
|
||||
- "127.0.0.1:3000:3000"
|
||||
- "127.0.0.1:2222:22"
|
||||
volumes:
|
||||
- /var/lib/gitea:/data
|
||||
|
||||
Reference in new issue
Block a user