This commit is contained in:
parent
714cae2594
commit
2658b18797
@ -6,6 +6,8 @@ A simple view counter for a website
|
||||
|
||||
### Database initialization
|
||||
|
||||
The following SQL will initialize the database for this application. No automigrate / initialization is done upon first running the application, so this must be ran by an administrator.
|
||||
|
||||
```sql
|
||||
SET NAMES utf8;
|
||||
SET time_zone = '+00:00';
|
||||
@ -24,8 +26,14 @@ CREATE TABLE `visit` (
|
||||
|
||||
```
|
||||
|
||||
### Build Container
|
||||
|
||||
Disclaimer! If you use this, you'll need to build the container yourself. My registry is used for my internal infrastructure only and is not publicly available.
|
||||
|
||||
### Example docker-compose.yml
|
||||
|
||||
Create a docker-compose file
|
||||
|
||||
```yaml
|
||||
|
||||
version: '3.7'
|
||||
|
Loading…
Reference in New Issue
Block a user