mirror of
				https://github.com/9technologygroup/patchmon.net.git
				synced 2025-10-31 12:03:47 +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.* | install-server.* | ||||||
| notify-clients-upgrade.sh | notify-clients-upgrade.sh | ||||||
| debug-agent.sh | debug-agent.sh | ||||||
| docker/agents | docker/compose_dev_data | ||||||
|   | |||||||
| @@ -7,7 +7,7 @@ services: | |||||||
|       POSTGRES_USER: patchmon_user |       POSTGRES_USER: patchmon_user | ||||||
|       POSTGRES_PASSWORD: INSECURE_REPLACE_ME_PLEASE_INSECURE |       POSTGRES_PASSWORD: INSECURE_REPLACE_ME_PLEASE_INSECURE | ||||||
|     volumes: |     volumes: | ||||||
|       - postgres_data:/var/lib/postgresql/data |       - ./compose_dev_data/db:/var/lib/postgresql/data | ||||||
|     healthcheck: |     healthcheck: | ||||||
|       test: ["CMD-SHELL", "pg_isready -U patchmon_user -d patchmon_db"] |       test: ["CMD-SHELL", "pg_isready -U patchmon_user -d patchmon_db"] | ||||||
|       interval: 10s |       interval: 10s | ||||||
| @@ -31,7 +31,7 @@ services: | |||||||
|       RATE_LIMIT_WINDOW_MS: 900000 |       RATE_LIMIT_WINDOW_MS: 900000 | ||||||
|       RATE_LIMIT_MAX: 100 |       RATE_LIMIT_MAX: 100 | ||||||
|     volumes: |     volumes: | ||||||
|       - ./agents:/app/agents |       - ./compose_dev_data/agents:/app/agents | ||||||
|     depends_on: |     depends_on: | ||||||
|       database: |       database: | ||||||
|         condition: service_healthy |         condition: service_healthy | ||||||
| @@ -49,6 +49,3 @@ services: | |||||||
|     depends_on: |     depends_on: | ||||||
|       backend: |       backend: | ||||||
|         condition: service_healthy |         condition: service_healthy | ||||||
|  |  | ||||||
| volumes: |  | ||||||
|   postgres_data: |  | ||||||
|   | |||||||
| @@ -29,7 +29,7 @@ services: | |||||||
|       RATE_LIMIT_WINDOW_MS: 900000 |       RATE_LIMIT_WINDOW_MS: 900000 | ||||||
|       RATE_LIMIT_MAX: 100 |       RATE_LIMIT_MAX: 100 | ||||||
|     volumes: |     volumes: | ||||||
|       - ./agents:/app/agents |       - agent_files:/app/agents | ||||||
|     depends_on: |     depends_on: | ||||||
|       database: |       database: | ||||||
|         condition: service_healthy |         condition: service_healthy | ||||||
| @@ -45,3 +45,4 @@ services: | |||||||
|  |  | ||||||
| volumes: | volumes: | ||||||
|   postgres_data: |   postgres_data: | ||||||
|  |   agent_files: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user