Gitea to listen only on host ports so as to expose ports outside only using the reverse proxy
This commit is contained in:
parent
5cda2c5eff
commit
e8ef0b252f
@ -42,7 +42,7 @@
|
||||
links:
|
||||
- "postgres:db"
|
||||
published_ports:
|
||||
- "3000:3000"
|
||||
- "127.0.0.1:3000:3000"
|
||||
- "127.0.0.1:2222:22"
|
||||
volumes:
|
||||
- /var/lib/gitea:/data
|
||||
|
@ -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
|
||||
|
@ -1,7 +1,6 @@
|
||||
# Docker on Ubuntu 18.04
|
||||
# Gitea on Ubuntu
|
||||
|
||||
This playbook will install Docker an Ubuntu 18.04 machine, as explained in the guide on
|
||||
[How to Use Ansible to Install and Set Up Docker on Ubuntu 18.04](https://www.digitalocean.com/community/tutorials/how-to-use-ansible-to-install-and-set-up-docker-on-ubuntu-18-04).
|
||||
This playbook will install Gitea on an Ubuntu 19.10 machine.
|
||||
A number of containers will be created with the options specified in the `vars/default.yml` variable file.
|
||||
|
||||
## Settings
|
||||
|
Loading…
Reference in New Issue
Block a user