mirror of
https://github.com/mentos1386/zdravko.git
synced 2024-11-21 23:33:34 +00:00
fix: update docker compose and dockerfile to be work out of the box
This commit is contained in:
parent
e5dd6e2cd1
commit
1935cd9db3
5 changed files with 6 additions and 3 deletions
|
@ -30,6 +30,10 @@ EXPOSE 8223
|
||||||
EXPOSE 7233
|
EXPOSE 7233
|
||||||
|
|
||||||
# Volume to persist sqlite databases
|
# Volume to persist sqlite databases
|
||||||
|
# as well as the keyvalue database.
|
||||||
|
ENV SQLITE_DATABASE_PATH=/data/zdravko.db
|
||||||
|
ENV TEMPORAL_DATABASE_PATH=/data/temporal.db
|
||||||
|
ENV KEYVALUE_DATABASE_PATH=/data/keyvalue.db
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
|
|
||||||
ENV DATABASE_PATH=/data/zdravko.db
|
ENV DATABASE_PATH=/data/zdravko.db
|
||||||
|
|
1
deploy/.dockerignore
Normal file
1
deploy/.dockerignore
Normal file
|
@ -0,0 +1 @@
|
||||||
|
deploy/
|
|
@ -1,5 +1,3 @@
|
||||||
version: '3.8'
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
server_data:
|
server_data:
|
||||||
temporal_data:
|
temporal_data:
|
||||||
|
|
2
justfile
2
justfile
|
@ -3,7 +3,7 @@ set shell := ["devbox", "run"]
|
||||||
# Load dotenv
|
# Load dotenv
|
||||||
set dotenv-load
|
set dotenv-load
|
||||||
|
|
||||||
import 'deploy.just'
|
import 'deploy/Justfile'
|
||||||
|
|
||||||
# Load public and private keys
|
# Load public and private keys
|
||||||
export JWT_PRIVATE_KEY := `cat jwt.private.pem || echo ""`
|
export JWT_PRIVATE_KEY := `cat jwt.private.pem || echo ""`
|
||||||
|
|
Loading…
Reference in a new issue