You've already forked focalboard
							
							
				mirror of
				https://github.com/mattermost/focalboard.git
				synced 2025-10-31 00:17:42 +02:00 
			
		
		
		
	add docker-compose
This commit is contained in:
		
							
								
								
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -62,3 +62,5 @@ webapp/cypress/videos | ||||
| server/swagger/clients | ||||
| server/vendor | ||||
| .idea | ||||
| certs | ||||
| data | ||||
|   | ||||
							
								
								
									
										32
									
								
								docker-compose.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								docker-compose.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,32 @@ | ||||
| version: "3" | ||||
| services: | ||||
|   app: | ||||
|     build: | ||||
|       context: ./docker | ||||
|     container_name: focalboard | ||||
|     expose:  | ||||
|       - 8000 | ||||
|     environment: | ||||
|       - VIRTUAL_HOST=focalboard.local | ||||
|       - VIRTUAL_PORT=8000 | ||||
|    | ||||
|   proxy: | ||||
|     image: jwilder/nginx-proxy:latest | ||||
|     container_name: focalboard-proxy | ||||
|     ports: | ||||
|       - 443:443 | ||||
|     volumes: | ||||
|       - "./certs:/etc/nginx/certs:ro" | ||||
|       - "/var/run/docker.sock:/tmp/docker.sock:ro" | ||||
|  | ||||
|   postgres: | ||||
|     image: postgres:latest | ||||
|     container_name: focalboard-postgres | ||||
|     restart: always | ||||
|     volumes: | ||||
|       - "./data:/var/lib/postgresql/data" | ||||
|     environment: | ||||
|       POSTGRES_DB: boards | ||||
|       POSTGRES_USER: boarduser | ||||
|       POSTGRES_PASSWORD: board-password | ||||
|  | ||||
| @@ -1,8 +1,8 @@ | ||||
| FROM ubuntu:latest | ||||
| FROM ubuntu:20.04 | ||||
| 
 | ||||
| # Make sure that the underlying container is patched to the latest versions | ||||
| RUN apt update && \ | ||||
|     apt install -y wget tar gzip unzip file | ||||
| RUN apt-get update && \ | ||||
|     apt-get install -y wget tar unzip gzip file | ||||
| 
 | ||||
| # Now install Focalboard as a seperate layer | ||||
| RUN wget https://releases.mattermost.com/focalboard/0.5.0/focalboard-server-linux-amd64.tar.gz && \ | ||||
		Reference in New Issue
	
	Block a user