mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-04 04:08:15 +00:00 
			
		
		
		
	Updated README.md
This commit is contained in:
		@@ -23,6 +23,12 @@ This Ansible role is designed to deploy a PostgreSQL database using Docker. It i
 | 
				
			|||||||
2. Include this role in your playbook.
 | 
					2. Include this role in your playbook.
 | 
				
			||||||
3. Run the playbook against the target host.
 | 
					3. Run the playbook against the target host.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Root Access
 | 
				
			||||||
 | 
					To access the database via the root account execute the following on the server:
 | 
				
			||||||
 | 
					```bash
 | 
				
			||||||
 | 
					docker exec -it central-postgres psql -U postgres
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Notes
 | 
					## Notes
 | 
				
			||||||
- The PostgreSQL server is bound to `127.0.0.1:5432` on the host machine, making it accessible only from localhost.
 | 
					- The PostgreSQL server is bound to `127.0.0.1:5432` on the host machine, making it accessible only from localhost.
 | 
				
			||||||
- Ensure that the provided passwords are secure and stored securely, preferably using Ansible Vault or another encryption method.
 | 
					- Ensure that the provided passwords are secure and stored securely, preferably using Ansible Vault or another encryption method.
 | 
				
			||||||
		Reference in New Issue
	
	Block a user