Created docker compose file with sqlite3 database container
This commit is contained in:
parent
07261acb25
commit
f633660307
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,6 +1,10 @@
|
||||
# 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
|
||||
|
||||
|
||||
### SQLite 3 Database ###
|
||||
data/
|
||||
|
||||
### Flask ###
|
||||
instance/*
|
||||
!instance/.gitignore
|
||||
|
13
docker-compose.yml
Normal file
13
docker-compose.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user