Skip to content

Commit 5f2325e

Browse files
committed
fix dockerfile config
1 parent ccebfdf commit 5f2325e

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@
99
- Updated dependencies, for bug fixes and performance improvements.
1010
- New icons (see https://tabler-icons.io/changelog)
1111
- When `NULL` is passed as an icon name, display no icon instead of raising an error.
12+
- Official docker image folder structure changed. The docker image now expects
13+
- the SQLPage website (`.sql` files) to be in `/var/www/`, and
14+
- the SQLPage configuration folder to be in `/etc/sqlpage/`
15+
- the configuration file should be in `/etc/sqlpage/sqlpage.json`
16+
- the database file should be in `/etc/sqlpage/sqlpage.db`
17+
- custom templates should be in `/etc/sqlpage/templates/`
18+
- This configuration change concerns only the docker image. If you are using the sqlpage binary directly, nothing changes.
1219

1320
## 0.12.0 (2023-10-04)
1421

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
FROM lovasoa/sqlpage:latest
22

3+
COPY ./sqlpage /etc/sqlpage
34
COPY . /var/www

examples/official-site/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
FROM lovasoa/sqlpage:main
22

3+
COPY ./sqlpage /etc/sqlpage
34
COPY . /var/www

0 commit comments

Comments
 (0)