-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsqlite.docker-compose.yml
More file actions
45 lines (40 loc) · 1.26 KB
/
sqlite.docker-compose.yml
File metadata and controls
45 lines (40 loc) · 1.26 KB
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
version: "3.7"
#docker-compose -p dhis2heat -f docker-compose.yml -f sqlite.docker-compose.yml up -d
#docker-compose -p dhis2heat -f sqlite.docker-compose.yml up -d
#docker-compose -p dhis2heat -f sqlite.docker-compose.yml down --volumes --rmi all
services:
sqlitebrowser:
image: lscr.io/linuxserver/sqlitebrowser:latest
container_name: sqlitebrowser
environment:
- PUID=1000
- PGID=1000
- TZ=Africa/Addis_Ababa
# Optional authentication (basic HTTP auth)
- CUSTOM_USER=admin
- PASSWORD=admin123
# Optional UI customization
- TITLE=SQLite Browser
volumes:
# Persistent config directory for settings, preferences, etc.
- ./sqlite_data:/config
# Mount your actual SQLite database file into the container
- ./app/db:/config/db
ports:
#- "3000:3000" # HTTP (optional, disable if using proxy)
- "3001:3001" # HTTPS (recommended)
shm_size: "1gb"
restart: unless-stopped
networks:
#moh_heatp:
dhis2heat_moh_heatp:
ipv4_address: 192.168.17.11
# Uncomment below only if GUI issues occur on some systems
# security_opt:
# - seccomp=unconfined
volumes:
sqlite_data:
networks:
#moh_heatp:
dhis2heat_moh_heatp:
external: true