mirror of
				https://git.wownero.com/lza_menace/suchwow.git
				synced 2024-08-15 01:03:19 +00:00 
			
		
		
		
	adding some docker shit
This commit is contained in:
		
							parent
							
								
									b6aac85f48
								
							
						
					
					
						commit
						95504d8bd4
					
				
					 5 changed files with 29 additions and 0 deletions
				
			
		
							
								
								
									
										6
									
								
								.dockerignore
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								.dockerignore
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,6 @@
 | 
				
			||||||
 | 
					data
 | 
				
			||||||
 | 
					flask_session
 | 
				
			||||||
 | 
					bin
 | 
				
			||||||
 | 
					.venv
 | 
				
			||||||
 | 
					.git
 | 
				
			||||||
 | 
					.idea
 | 
				
			||||||
							
								
								
									
										1
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -7,3 +7,4 @@ __pycache__
 | 
				
			||||||
*sql
 | 
					*sql
 | 
				
			||||||
flask_session
 | 
					flask_session
 | 
				
			||||||
config.py
 | 
					config.py
 | 
				
			||||||
 | 
					docker-compose.*.yaml
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										7
									
								
								Dockerfile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								Dockerfile
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,7 @@
 | 
				
			||||||
 | 
					FROM python:slim
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					WORKDIR /srv
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					COPY . .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					RUN pip3 install -r requirements.txt
 | 
				
			||||||
							
								
								
									
										14
									
								
								docker-compose.yaml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								docker-compose.yaml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,14 @@
 | 
				
			||||||
 | 
					version: '3'
 | 
				
			||||||
 | 
					services:
 | 
				
			||||||
 | 
					  wownero-explorer:
 | 
				
			||||||
 | 
					    build:
 | 
				
			||||||
 | 
					      context: .
 | 
				
			||||||
 | 
					    command: gunicorn --bind 0.0.0.0:4000 "suchwow.app:app"
 | 
				
			||||||
 | 
					    labels:
 | 
				
			||||||
 | 
					      - "traefik.http.routers.http.rule=Host(`localhost`)"
 | 
				
			||||||
 | 
					      - "traefik.http.routers.http.entrypoints=http"
 | 
				
			||||||
 | 
					    environment:
 | 
				
			||||||
 | 
					      FLASK_SECRETS: config.py
 | 
				
			||||||
 | 
					      FLASK_APP: suchwow/app.py
 | 
				
			||||||
 | 
					    ports:
 | 
				
			||||||
 | 
					      - 4000:4000
 | 
				
			||||||
| 
						 | 
					@ -2,3 +2,4 @@ requests
 | 
				
			||||||
flask
 | 
					flask
 | 
				
			||||||
flask-session
 | 
					flask-session
 | 
				
			||||||
peewee
 | 
					peewee
 | 
				
			||||||
 | 
					gunicorn
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue