mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 18:08:11 +00:00 
			
		
		
		
	 f7a8d06f54
			
		
	
	
		f7a8d06f54
		
	
	
	
	
		
			
			Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com> Remove old files not used anymore Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com> Added info about conflict with local db instances and how to change port configurations Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com> Fix typos Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
		
			
				
	
	
		
			46 lines
		
	
	
		
			878 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			878 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| version: '3'
 | |
| 
 | |
| services:
 | |
|   postgres:
 | |
|     image: postgres
 | |
|     restart: always
 | |
|     volumes:
 | |
|       - pgdata:/var/lib/postgresql/data
 | |
|     environment:
 | |
|       POSTGRES_USER: strapi
 | |
|       POSTGRES_PASSWORD: strapi
 | |
|       POSTGRES_DB: strapi
 | |
|     ports:
 | |
|       - '5432:5432'
 | |
| 
 | |
|   mongo:
 | |
|     image: mongo
 | |
|     restart: always
 | |
|     environment:
 | |
|       MONGO_INITDB_ROOT_USERNAME: root
 | |
|       MONGO_INITDB_ROOT_PASSWORD: strapi
 | |
|     volumes:
 | |
|       - mongodata:/data/db
 | |
|     ports:
 | |
|       - '27017:27017'
 | |
| 
 | |
|   mysql:
 | |
|     image: mysql
 | |
|     restart: always
 | |
|     command: --default-authentication-plugin=mysql_native_password
 | |
|     environment:
 | |
|       MYSQL_DATABASE: strapi
 | |
|       MYSQL_USER: strapi
 | |
|       MYSQL_PASSWORD: strapi
 | |
|       MYSQL_ROOT_HOST: '%'
 | |
|       MYSQL_ROOT_PASSWORD: strapi
 | |
|     volumes:
 | |
|       - mysqldata:/var/lib/mysql
 | |
|     ports:
 | |
|       - '3306:3306'
 | |
| 
 | |
| volumes:
 | |
|   pgdata:
 | |
|   mongodata:
 | |
|   mysqldata:
 |