Compare commits
3 commits
5ecfebaa84
...
ebc5fa4be6
Author | SHA1 | Date | |
---|---|---|---|
ebc5fa4be6 | |||
bfe0384cfa | |||
75c9adab18 |
2 changed files with 9 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
# Monica
|
||||
MONICA_VERSION=4.1.2
|
||||
APPKEY= # generate with echo -n 'base64:'; openssl rand -base64 32
|
||||
MONICA_APPKEY= # generate with echo -n 'base64:'; openssl rand -base64 32
|
||||
MONICA_DOMAIN=monica.example.com
|
||||
|
||||
# MySQL
|
||||
|
|
|
@ -9,6 +9,8 @@ services:
|
|||
- monica
|
||||
environment:
|
||||
- APP_KEY=${MONICA_APPKEY:?error}
|
||||
- APP_URL=https://${MONICA_DOMAIN:?error}
|
||||
- APP_TRUSTED_PROXIES=*
|
||||
- DB_HOST=db
|
||||
- DB_USERNAME=${MONICA_MYSQL_USER:?error}
|
||||
- DB_PASSWORD=${MONICA_MYSQL_PASSWORD:?error}
|
||||
|
@ -43,6 +45,12 @@ services:
|
|||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
|
||||
networks:
|
||||
traefik:
|
||||
external: true
|
||||
monica:
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
data:
|
||||
db:
|
Loading…
Add table
Reference in a new issue