[add]mariadb
This commit is contained in:
		
							parent
							
								
									1012859d4c
								
							
						
					
					
						commit
						55ede40ebc
					
				
					 1 changed files with 15 additions and 3 deletions
				
			
		| 
						 | 
					@ -1,16 +1,28 @@
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
version: "2.1"
 | 
					version: "2.1"
 | 
				
			||||||
services:
 | 
					services:
 | 
				
			||||||
 | 
					  piwigo-db:
 | 
				
			||||||
 | 
					    env_file:
 | 
				
			||||||
 | 
					      - piwigo-db.env
 | 
				
			||||||
 | 
					    image: mariadb:10.5
 | 
				
			||||||
 | 
					    container_name: piwigo-db
 | 
				
			||||||
 | 
					    volumes:
 | 
				
			||||||
 | 
					      - piwigo-db:/var/lib/mysql
 | 
				
			||||||
 | 
					    restart: unless-stopped
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  piwigo:
 | 
					  piwigo:
 | 
				
			||||||
    image: lscr.io/linuxserver/piwigo
 | 
					    image: ghcr.io/linuxserver/piwigo
 | 
				
			||||||
    container_name: piwigo
 | 
					    container_name: piwigo
 | 
				
			||||||
    environment:
 | 
					    environment:
 | 
				
			||||||
      - PUID=1000
 | 
					      - PUID=1000
 | 
				
			||||||
      - PGID=1000
 | 
					      - PGID=1000
 | 
				
			||||||
      - TZ=Europe/London
 | 
					      - TZ=Europe/London
 | 
				
			||||||
    volumes:
 | 
					    volumes:
 | 
				
			||||||
      - ./config>:/config
 | 
					      - ./config:/config
 | 
				
			||||||
      - ./gallery:/gallery
 | 
					      - ./gallery:/gallery
 | 
				
			||||||
    ports:
 | 
					    ports:
 | 
				
			||||||
      - 8002:80
 | 
					      - 8002:80
 | 
				
			||||||
    restart: unless-stopped
 | 
					    restart: unless-stopped
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					volumes:
 | 
				
			||||||
 | 
					  piwigo-db:
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue