Fix timezone issue in reference compose.yml
This commit is contained in:
parent
2fe88259ec
commit
a92e6b04b7
4 changed files with 20 additions and 16 deletions
7
.gitignore
vendored
7
.gitignore
vendored
|
@ -17,11 +17,12 @@
|
|||
# Go workspace file
|
||||
go.work
|
||||
|
||||
# GoLand files
|
||||
.idea/
|
||||
|
||||
# Executable
|
||||
hibiscus-txt
|
||||
|
||||
.idea/
|
||||
|
||||
# Because currently it's used in "prod"
|
||||
# Testing data
|
||||
data/
|
||||
config/log.txt
|
15
README.md
15
README.md
|
@ -58,19 +58,8 @@ tg_chat=chatid
|
|||
### Docker deployment:
|
||||
Due to project's simplicity ~~and me rarely using them~~ there are no image tags, I just use `latest` and push to it.
|
||||
The [package](https://git.a71.su/Andrew71/hibiscus/packages) provided in this repository is for `linux/amd64` architecture,
|
||||
and there is a [Dockerfile](./Dockerfile) in case you want to compile for something rarer (like a Pi). Below is `compose.yml` that I personally use:
|
||||
```yaml
|
||||
version: "3.8"
|
||||
services:
|
||||
hibiscus:
|
||||
image: git.a71.su/andrew71/hibiscus:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "7101:7101"
|
||||
volumes:
|
||||
- path-to-config-dir/config:/config
|
||||
- path-to-data-dir/data:/data
|
||||
```
|
||||
and there is a [Dockerfile](./Dockerfile) in case you want to compile for something rarer (like a Pi).
|
||||
This repo contains the [compose.yml](./compose.yml) that I personally use.
|
||||
|
||||
### Executable flags
|
||||
If you for some reason decide to run plain executable instead of docker, it supports following flags:
|
||||
|
|
1
TODO.md
1
TODO.md
|
@ -1,6 +1,7 @@
|
|||
# TODO
|
||||
List of things to add to this project
|
||||
|
||||
* Fix the weird issue with compose and mounts (absolute path something) when updating!!!
|
||||
* Better docs in case others want to use ths for some reason
|
||||
* Github/Codeberg/whatever mirror for when `faye` (my server) is offline
|
||||
* Improve config and use reflection when loading it
|
||||
|
|
13
compose.yml
Normal file
13
compose.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
version: "3.8"
|
||||
services:
|
||||
hibiscus:
|
||||
image: git.a71.su/andrew71/hibiscus:latest
|
||||
container_name: hibiscus
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "7101:7101"
|
||||
volumes:
|
||||
- ./path-to-config:/config
|
||||
- ./path-to-data:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
Loading…
Reference in a new issue