The oAuth keys are stored in `/var/www/monica/storage`, so will not be persisted if only the public directory is bound as before. See https://github.com/monicahq/chandler/issues/239
23 lines
447 B
YAML
23 lines
447 B
YAML
version: "2"
|
|
services:
|
|
monicahq:
|
|
build: .
|
|
image: monicahq/monicahq
|
|
links:
|
|
- mysql
|
|
ports:
|
|
- 80:80
|
|
env_file: .env
|
|
volumes:
|
|
- ./persist/storage:/var/www/monica/storage
|
|
|
|
mysql:
|
|
image: mysql:5.7
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=sekret_root_password
|
|
- MYSQL_DATABASE=monica
|
|
- MYSQL_USER=homestead
|
|
- MYSQL_PASSWORD=secret
|
|
volumes:
|
|
- ./persist/mysql:/var/lib/mysql
|