Created docker compose file with sqlite3 database container

This commit is contained in:
Luke Else 2024-01-01 15:04:58 +00:00
parent 07261acb25
commit f633660307
2 changed files with 17 additions and 0 deletions

4
.gitignore vendored
View File

@ -1,6 +1,10 @@
# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,python,flask,web # Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,python,flask,web
# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,python,flask,web # Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,python,flask,web
### SQLite 3 Database ###
data/
### Flask ### ### Flask ###
instance/* instance/*
!instance/.gitignore !instance/.gitignore

13
docker-compose.yml Normal file
View File

@ -0,0 +1,13 @@
version: '3.8'
services:
sqlite3:
container_name: sqlite3
image: nouchka/sqlite3:latest
stdin_open: true
tty: true
volumes:
- ./data:/root/db
ports:
- '9000:9000'
restart: unless-stopped