Setup erpnext14 dockerized » Historie » Version 2
Jeremias Keihsler, 19.03.2024 12:18
1 | 1 | Jeremias Keihsler | h1. Setup erpnext14 dockerized |
---|---|---|---|
2 | |||
3 | the basic idea is taken from https://www.youtube.com/watch?v=8Q5B7DnxmLg |
||
4 | |||
5 | use of docker compose v2 |
||
6 | |||
7 | h2. download pwd.yml (version erpnext:v14.44.0) |
||
8 | |||
9 | https://github.com/frappe/frappe_docker/blob/0333e62884b706d01d38804472f71b3f6a039ff6/pwd.yml |
||
10 | |||
11 | 2 | Jeremias Keihsler | <pre><code class="shell"> |
12 | 1 | Jeremias Keihsler | sudo docker compose -p pwd -f pwd.yml up -d |
13 | sudo docker compose -p pwd -f pwd.yml logs |
||
14 | sudo docker compose -p pwd -f pwd.yml down |
||
15 | sudo docker ps |
||
16 | sudo docker exec -it b84444ac0cdb /bin/bash |
||
17 | 2 | Jeremias Keihsler | </code></pre> |
18 | |||
19 | h3. reset everything in the docker instance |
||
20 | |||
21 | <pre><code class="shell"> |
||
22 | docker-compose down |
||
23 | docker rm -f $(docker ps -a -q) |
||
24 | docker volume rm $(docker volume ls -q) |
||
25 | docker-compose up -d |
||
26 | </code></pre> |