Akaunting 2.1.35
Fungsi
- Organisasi Kewangan
Environment
- Ubuntu 22.04 LTS
- Docker 20.10.12
Install docker
1
2
sudo apt install docker.io
sudo apt install docker-compose
Bina folder
1
2
mkdir akaunting
cd akaunting
Bina dan edit docker-compose-setup.yaml file
1
2
touch docker-compose-setup.yaml
nano docker-compose-setup.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: '3.7'
services:
akaunting:
container_name: akaunting
image: docker.io/akaunting/akaunting:2.1.35
ports:
- "80:80" # hostport:containerport
volumes:
- akaunting-data:/var/www/html/storage
- akaunting-modules:/var/www/html/modules
restart: unless-stopped
environment:
- APP_URL=http://localhost
- LOCALE=en-US
- DB_HOST=akaunting-db
- DB_DATABASE=akaunting
- DB_USERNAME=akaunting
- DB_PASSWORD=akaunting
- DB_PREFIX=pfe_
- AKAUNTING_SETUP=true
- COMPANY_NAME=<Your company name>
- COMPANY_EMAIL=<Your company email>
- ADMIN_EMAIL=<Admin email>
- ADMIN_PASSWORD=<Admin password>
depends_on:
- akaunting-db
networks:
akaunting-back-network:
akaunting-db:
container_name: akaunting-db
image: mariadb:latest
volumes:
- akaunting-db:/var/lib/mysql
restart: unless-stopped
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=yes
- MYSQL_PASSWORD=akaunting
- MYSQL_USER=akaunting
- MYSQL_DATABASE=akaunting
networks:
akaunting-back-network:
volumes:
akaunting-data:
akaunting-modules:
akaunting-db:
networks:
akaunting-back-network:
driver: bridge
Run docker-compose-setup.yaml
1
sudo docker-compose -f docker-compose-setup.yaml up -d
Bina dan edit docker-compose.yaml file
1
2
touch docker-compose.yaml
nano docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
version: '3.7'
services:
akaunting:
container_name: akaunting
image: docker.io/akaunting/akaunting:2.1.35
ports:
- "80:80" # hostport:containerport
volumes:
- akaunting-data:/var/www/html/storage
- akaunting-modules:/var/www/html/modules
restart: unless-stopped
environment:
- APP_URL=http://localhost
- LOCALE=en-US
- DB_HOST=akaunting-db
- DB_DATABASE=akaunting
- DB_USERNAME=akaunting
- DB_PASSWORD=akaunting
- DB_PREFIX=pfe_
depends_on:
- akaunting-db
networks:
akaunting-back-network:
akaunting-db:
container_name: akaunting-db
image: mariadb:latest
volumes:
- akaunting-db:/var/lib/mysql
restart: unless-stopped
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=yes
- MYSQL_PASSWORD=akaunting
- MYSQL_USER=akaunting
- MYSQL_DATABASE=akaunting
networks:
akaunting-back-network:
volumes:
akaunting-data:
akaunting-modules:
akaunting-db:
networks:
akaunting-back-network:
driver: bridge
Run docker-compose-setup.yaml
1
2
sudo docker-compose up -d
sudo docker exec -it akaunting bash service apache2 restart
Login ke admin UI
http://localhost/
Link berguna
Pos ini dilesenkan di bawah
CC BY 4.0
oleh penulis.