forked from kamba4/sunders
		
	Resolve path issues in docs, removes dependency, moves database to volume #11
					 1 changed files with 4 additions and 1 deletions
				
			
		chore: Removes need for container host directory by moving database to volume
				commit
				
					
					
						d812b46516
					
				
			
		|  | @ -10,7 +10,7 @@ services: | ||||||
|     ports: |     ports: | ||||||
|       - "3306:3306" |       - "3306:3306" | ||||||
|     volumes: |     volumes: | ||||||
|         - ./mariadb:/var/lib/mysql:Z |         - mariadb:/var/lib/mysql:Z | ||||||
|     healthcheck: |     healthcheck: | ||||||
|       test: ["CMD", "mariadb-admin", "ping", "-h", "localhost", "-uroot", "-prootpassword"] |       test: ["CMD", "mariadb-admin", "ping", "-h", "localhost", "-uroot", "-prootpassword"] | ||||||
|       interval: 10s |       interval: 10s | ||||||
|  | @ -52,3 +52,6 @@ services: | ||||||
|       db: |       db: | ||||||
|         condition: service_healthy |         condition: service_healthy | ||||||
|         restart: true |         restart: true | ||||||
|  | 
 | ||||||
|  | volumes: | ||||||
|  |   mariadb: | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue