[add] next cloud
This commit is contained in:
		
							parent
							
								
									75f0b8cd19
								
							
						
					
					
						commit
						8756c3e41c
					
				
					 1 changed files with 33 additions and 0 deletions
				
			
		
							
								
								
									
										33
									
								
								tiddlywiki/nextcloud/docker-compose
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								tiddlywiki/nextcloud/docker-compose
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,33 @@
 | 
			
		|||
version: '2'
 | 
			
		||||
 | 
			
		||||
volumes:
 | 
			
		||||
  nextcloud:
 | 
			
		||||
  db:
 | 
			
		||||
 | 
			
		||||
services:
 | 
			
		||||
  db:
 | 
			
		||||
    image: mariadb:10.5
 | 
			
		||||
    restart: always
 | 
			
		||||
    command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
 | 
			
		||||
    volumes:
 | 
			
		||||
      - db:/var/lib/mysql
 | 
			
		||||
    environment:
 | 
			
		||||
      - MYSQL_ROOT_PASSWORD=uksapl
 | 
			
		||||
      - MYSQL_PASSWORD=uksapl
 | 
			
		||||
      - MYSQL_DATABASE=nextcloud
 | 
			
		||||
      - MYSQL_USER=nextcloud
 | 
			
		||||
 | 
			
		||||
  app:
 | 
			
		||||
    image: nextcloud
 | 
			
		||||
    restart: always
 | 
			
		||||
    ports:
 | 
			
		||||
      - 8090:80
 | 
			
		||||
    links:
 | 
			
		||||
      - db
 | 
			
		||||
    volumes:
 | 
			
		||||
      - nextcloud:/var/www/html
 | 
			
		||||
    environment:
 | 
			
		||||
      - MYSQL_PASSWORD=uksapl
 | 
			
		||||
      - MYSQL_DATABASE=nextcloud
 | 
			
		||||
      - MYSQL_USER=nextcloud
 | 
			
		||||
      - MYSQL_HOST=db
 | 
			
		||||
		Loading…
	
	Add table
		
		Reference in a new issue