[add] vikunja
This commit is contained in:
		
							parent
							
								
									4ca7e98a63
								
							
						
					
					
						commit
						62838a6e26
					
				
					 3 changed files with 43 additions and 0 deletions
				
			
		
							
								
								
									
										34
									
								
								vikunja/docker-compose.yaml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								vikunja/docker-compose.yaml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,34 @@
 | 
			
		|||
services:
 | 
			
		||||
  vikunja:
 | 
			
		||||
    image: vikunja/vikunja
 | 
			
		||||
    environment:
 | 
			
		||||
      VIKUNJA_SERVICE_PUBLICURL: http://<the public ip or host where Vikunja is reachable>
 | 
			
		||||
      VIKUNJA_DATABASE_HOST: db
 | 
			
		||||
      VIKUNJA_DATABASE_PASSWORD: changeme
 | 
			
		||||
      VIKUNJA_DATABASE_TYPE: mysql
 | 
			
		||||
      VIKUNJA_DATABASE_USER: vikunja
 | 
			
		||||
      VIKUNJA_DATABASE_DATABASE: vikunja
 | 
			
		||||
      VIKUNJA_SERVICE_JWTSECRET: <a super secure random secret>
 | 
			
		||||
    ports:
 | 
			
		||||
      - 3456:3456
 | 
			
		||||
    volumes:
 | 
			
		||||
      - ./files:/app/vikunja/files
 | 
			
		||||
    depends_on:
 | 
			
		||||
      db:
 | 
			
		||||
        condition: service_healthy
 | 
			
		||||
    restart: unless-stopped
 | 
			
		||||
  db:
 | 
			
		||||
    image: mariadb:10
 | 
			
		||||
    command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
 | 
			
		||||
    environment:
 | 
			
		||||
      MYSQL_ROOT_PASSWORD: supersecret
 | 
			
		||||
      MYSQL_USER: vikunja
 | 
			
		||||
      MYSQL_PASSWORD: changeme
 | 
			
		||||
      MYSQL_DATABASE: vikunja
 | 
			
		||||
    volumes:
 | 
			
		||||
      - ./db:/var/lib/mysql
 | 
			
		||||
    restart: unless-stopped
 | 
			
		||||
    healthcheck:
 | 
			
		||||
      test: ["CMD-SHELL", "mysqladmin ping -h localhost -u $$MYSQL_USER --password=$$MYSQL_PASSWORD"]
 | 
			
		||||
      interval: 2s
 | 
			
		||||
      start_period: 30s
 | 
			
		||||
							
								
								
									
										8
									
								
								vikunja/files/.gitignore
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								vikunja/files/.gitignore
									
										
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,8 @@
 | 
			
		|||
# .gitignore sample
 | 
			
		||||
###################
 | 
			
		||||
 | 
			
		||||
# Ignore all files in this dir...
 | 
			
		||||
*
 | 
			
		||||
 | 
			
		||||
# ... except for this one.
 | 
			
		||||
!.gitignore
 | 
			
		||||
							
								
								
									
										1
									
								
								vikunja/readme.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								vikunja/readme.md
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
https://vikunja.io
 | 
			
		||||
		Loading…
	
	Add table
		
		Reference in a new issue