mirror of
				https://github.com/9technologygroup/patchmon.net.git
				synced 2025-10-31 03:53:51 +00:00 
			
		
		
		
	chore(compose): move agent_files to docker vol
				
					
				
			This commit is contained in:
		
							
								
								
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -145,4 +145,4 @@ setup-installer-site.sh | ||||
| install-server.* | ||||
| notify-clients-upgrade.sh | ||||
| debug-agent.sh | ||||
| docker/agents | ||||
| docker/compose_dev_data | ||||
|   | ||||
| @@ -7,7 +7,7 @@ services: | ||||
|       POSTGRES_USER: patchmon_user | ||||
|       POSTGRES_PASSWORD: INSECURE_REPLACE_ME_PLEASE_INSECURE | ||||
|     volumes: | ||||
|       - postgres_data:/var/lib/postgresql/data | ||||
|       - ./compose_dev_data/db:/var/lib/postgresql/data | ||||
|     healthcheck: | ||||
|       test: ["CMD-SHELL", "pg_isready -U patchmon_user -d patchmon_db"] | ||||
|       interval: 10s | ||||
| @@ -31,7 +31,7 @@ services: | ||||
|       RATE_LIMIT_WINDOW_MS: 900000 | ||||
|       RATE_LIMIT_MAX: 100 | ||||
|     volumes: | ||||
|       - ./agents:/app/agents | ||||
|       - ./compose_dev_data/agents:/app/agents | ||||
|     depends_on: | ||||
|       database: | ||||
|         condition: service_healthy | ||||
| @@ -49,6 +49,3 @@ services: | ||||
|     depends_on: | ||||
|       backend: | ||||
|         condition: service_healthy | ||||
|  | ||||
| volumes: | ||||
|   postgres_data: | ||||
|   | ||||
| @@ -29,7 +29,7 @@ services: | ||||
|       RATE_LIMIT_WINDOW_MS: 900000 | ||||
|       RATE_LIMIT_MAX: 100 | ||||
|     volumes: | ||||
|       - ./agents:/app/agents | ||||
|       - agent_files:/app/agents | ||||
|     depends_on: | ||||
|       database: | ||||
|         condition: service_healthy | ||||
| @@ -45,3 +45,4 @@ services: | ||||
|  | ||||
| volumes: | ||||
|   postgres_data: | ||||
|   agent_files: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user