-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsqlite.yaml
More file actions
45 lines (37 loc) · 898 Bytes
/
sqlite.yaml
File metadata and controls
45 lines (37 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# syntax=docker/dockerfile:1
version: "3"
networks:
composes:
services:
migrations:
hostname: migrations
container_name: migrations
restart: no
image: migrate/migrate:v4.17.1
command: -path=/migrations -database "sqlite3:///data/databse.db" -verbose up
environment:
MYSQL_DATABASE: orders
MYSQL_ROOT_PASSWORD: root
volumes:
- ./migrations/sqlite:/migrations
- ./database.db:/data/database.db
networks:
- composes
sqlitebrowser:
container_name: sqlitebrowser
hostname: sqlitebrowser
restart: unless-stopped
image: lscr.io/linuxserver/sqlitebrowser:latest
security_opt:
- seccomp:unconfined #optional
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- /path/to/config:/config
ports:
- 3000:3000
- 3001:3001
networks:
- composes