Merge pull request #4 from mihaibogdan10/master
Mount docker postgres volume on host
This commit is contained in:
		@@ -14,7 +14,7 @@ services:
 | 
			
		||||
      SENTRY_POSTGRES_HOST: postgres
 | 
			
		||||
      SENTRY_EMAIL_HOST: smtp
 | 
			
		||||
    volumes:
 | 
			
		||||
      - ./data:/var/lib/sentry/files
 | 
			
		||||
      - ./data/sentry:/var/lib/sentry/files
 | 
			
		||||
 | 
			
		||||
  smtp:
 | 
			
		||||
    image: tianon/exim4
 | 
			
		||||
@@ -27,6 +27,8 @@ services:
 | 
			
		||||
 | 
			
		||||
  postgres:
 | 
			
		||||
    image: postgres:9.5
 | 
			
		||||
    volumes:
 | 
			
		||||
      - ./data/postgres:/var/lib/postgresql/data
 | 
			
		||||
 | 
			
		||||
  web:
 | 
			
		||||
    extends: base
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user