diff --git a/gitea/playbook-pg.yml b/gitea/playbook-pg.yml index 0d061f3..5b5f86f 100755 --- a/gitea/playbook-pg.yml +++ b/gitea/playbook-pg.yml @@ -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 diff --git a/gitea/playbook.yml b/gitea/playbook.yml index 6acfccd..cb43480 100755 --- a/gitea/playbook.yml +++ b/gitea/playbook.yml @@ -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 diff --git a/gitea/readme.md b/gitea/readme.md index f6d7ecc..2be90cb 100644 --- a/gitea/readme.md +++ b/gitea/readme.md @@ -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 @@ -43,4 +42,4 @@ default_container_command: sleep 1d ansible-playbook -l [target] -i [inventory file] -u [remote user] playbook.yml ``` -For more information on how to run this Ansible setup, please check this guide: [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). \ No newline at end of file +For more information on how to run this Ansible setup, please check this guide: [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).