chore: docker volume
This commit is contained in:
parent
df59f54ac4
commit
752c72a81a
2 changed files with 2 additions and 2 deletions
|
|
@ -20,4 +20,4 @@ WORKDIR /app
|
||||||
COPY --from=builder /unbot /usr/local/bin/unbot
|
COPY --from=builder /unbot /usr/local/bin/unbot
|
||||||
|
|
||||||
ENTRYPOINT ["unbot"]
|
ENTRYPOINT ["unbot"]
|
||||||
CMD ["-config", "/app/config.toml"]
|
CMD ["-config", "/config/config.toml"]
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ services:
|
||||||
container_name: unbot
|
container_name: unbot
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./config.toml:/app/config.toml:ro
|
- ./config.toml:/config/config.toml:ro
|
||||||
- unbot-data:/app
|
- unbot-data:/app
|
||||||
environment:
|
environment:
|
||||||
- TZ=UTC
|
- TZ=UTC
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue