From 53259a3ebb82417071ca8989e5bff7052ed9f6f9 Mon Sep 17 00:00:00 2001 From: Ibrahim Mkusa Date: Sat, 7 Sep 2024 19:31:04 -0400 Subject: [PATCH] gitea postgres now talk --- playbooks/setup_database.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/playbooks/setup_database.yml b/playbooks/setup_database.yml index c099bbd..a7c574a 100644 --- a/playbooks/setup_database.yml +++ b/playbooks/setup_database.yml @@ -7,7 +7,7 @@ vars: postgresql_user: gitea postgresql_db: giteadb - container_network: gitea_network + container_network: host gitea_directory: /home/ubuntu/hifadhi_kuu/gitea tasks: - name: install postgresql @@ -79,9 +79,9 @@ pull: platform: amd64 - - name: create network the docker container will run in - community.docker.docker_network: - name: "{{container_network}}" +# - name: create network the docker container will run in +# community.docker.docker_network: +# name: "{{container_network}}" - name: run and make persistant gitea container community.docker.docker_container: @@ -105,4 +105,5 @@ - ./config:/etc/gitea - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro + recreate: true working_dir: "{{gitea_directory}}"