Installation
The service can be installed through the Portainer web interface.
Learn about creating a new stack.
Docker Compose
Use the following code to install the service:
---
services:
actual-server:app:
image: docker.io/actualbudget/actual-server:latestmonica:apache
container_name:depends_on:
actual-server- network_mode:db
bridgeports:
- 9011:80
environment:
- TZ=America/VancouverDB_HOST=db
- DB_USERNAME=${DB_USER}
- DB_PASSWORD=${DB_PASS}
- APP_URL=${APP_URL}
- APP_NAME=${APP_NAME}
- APP_ENV=production
- APP_KEY=${APP_KEY}
volumes:
# Persistent Data
- /srv/actual-budget:monica/config:/datavar/www/html/storage
ports:restart: unless-stopped
db:
image: lscr.io/linuxserver/mariadb:11
environment:
- 5006:5006MYSQL_RANDOM_ROOT_PASSWORD=true
- MYSQL_DATABASE=monica
- MYSQL_USER=${DB_USER}
- MYSQL_PASSWORD=${DB_PASS}
volumes:
- /srv/monica/db:/var/lib/mysql
restart: unless-stopped
Environment
Use the following environment to configure the service using the values prepared earlier:
TZ=America/VancouverDB_USER=
DB_PASS=
APP_URL=
APP_NAME=
APP_KEY=