SQLite 3 Docker Compose

While we are talking about docker-compose powered databases, here is SQLite 3. Because, why not?

docker-compose -f ~/desh/docker-composers/sqlite3/docker-compose.yml up --build -d;

Contents of your docker-compose.yml file:

version: '3'

services:
  sqlite3:
    container_name: sqlite3_container
    image: nouchka/sqlite3:latest
    stdin_open: true
    tty: true
    volumes:
      #Modify following line
      - path-to/your/databases/sqlite3:/root/db/
    ports:
      - '9000:9000' # expose ports - HOST:CONTAINER
    restart: unless-stopped

Bu yazı bugün 1 kere olmak üzere toplam 1 kere okundu.

Posted in: Development

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Adult Webcam xXx