Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
services:monicahq [2024/06/03 06:21] – willy | services:monicahq [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== MonicaHQ ====== | ||
- | |||
- | [[https:// | ||
- | |||
- | As a short reminder: | ||
- | <code bash> | ||
- | useradd -d / | ||
- | mkdir / | ||
- | chown monicahq: | ||
- | mkdir / | ||
- | mkdir / | ||
- | chown monicahq: | ||
- | su - monicahq | ||
- | </ | ||
- | |||
- | Then i created the following // | ||
- | <file - podman-compose.yml> | ||
- | version: " | ||
- | |||
- | services: | ||
- | app: | ||
- | image: monica: | ||
- | depends_on: | ||
- | - db | ||
- | ports: | ||
- | - 9980:80 | ||
- | environment: | ||
- | - APP_ENV=local | ||
- | - APP_KEY=qHOBIml3zoCUNPbNfg9GaxXw7+6vh4MA | ||
- | - APP_URL=http:// | ||
- | - APP_TRUSTED_PROXIES=* | ||
- | - DB_HOST=db | ||
- | - DB_DATABASE=monica | ||
- | - DB_USERNAME=monica | ||
- | - DB_PASSWORD=monica_secret | ||
- | - LOG_CHANNEL=stderr | ||
- | - CACHE_DRIVER=database | ||
- | - SESSION_DRIVER=database | ||
- | - QUEUE_DRIVER=sync | ||
- | volumes: | ||
- | - / | ||
- | networks: | ||
- | - monicahq-net | ||
- | |||
- | db: | ||
- | image: mariadb: | ||
- | environment: | ||
- | - MYSQL_RANDOM_ROOT_PASSWORD=true | ||
- | - MYSQL_DATABASE=monica | ||
- | - MYSQL_USER=monica | ||
- | - MYSQL_PASSWORD=monica_secret | ||
- | volumes: | ||
- | - / | ||
- | networks: | ||
- | - monicahq-net | ||
- | |||
- | networks: | ||
- | monicahq-net: | ||
- | </ | ||
- | |||
- | I first tried with **monica: | ||
- | |||
- | The NGINX configuration was: | ||
- | <file - monicahq.conf> | ||
- | location /monicahq/ { | ||
- | proxy_pass | ||
- | proxy_redirect | ||
- | proxy_set_header | ||
- | proxy_set_header | ||
- | proxy_set_header | ||
- | proxy_set_header | ||
- | } | ||
- | </ | ||
- | |||
- | Here i also tried all the combinations i could thing of. | ||
- | |||
- | At the end of the day, i managed to run the **monica: | ||
- | |||