Remove PM2 steps
This commit is contained in:
parent
0e7b0a0a3e
commit
8d1b53c905
4 changed files with 4 additions and 9 deletions
|
@ -3,5 +3,4 @@ packages:
|
|||
- ufw
|
||||
- coreutils
|
||||
- git
|
||||
- docker
|
||||
- openssh-server
|
||||
- docker
|
|
@ -60,7 +60,3 @@
|
|||
name: ufw
|
||||
state: started
|
||||
enabled: yes
|
||||
|
||||
- name: Enable UFW
|
||||
community.general.ufw:
|
||||
state: enabled
|
||||
|
|
|
@ -26,6 +26,8 @@ services:
|
|||
## Docker sock
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
- ${PWD}:/tipi
|
||||
environment:
|
||||
- INTERNAL_IP=${INTERNAL_IP}
|
||||
networks:
|
||||
tipi_main_network:
|
||||
ipv4_address: 10.21.21.3
|
||||
|
@ -38,8 +40,6 @@ services:
|
|||
networks:
|
||||
tipi_main_network:
|
||||
ipv4_address: 10.21.21.4
|
||||
environment:
|
||||
- INTERNAL_IP=${INTERNAL_IP}
|
||||
labels:
|
||||
traefik.enable: true
|
||||
traefik.http.routers.dashboard.rule: PathPrefix("/") # Host(`tipi.local`) &&
|
||||
|
|
|
@ -116,7 +116,7 @@ done
|
|||
mv -f "$ENV_FILE" "$ROOT_FOLDER/.env"
|
||||
mv -f "$ENV_FILE_SYSTEM_API" "$ROOT_FOLDER/packages/system-api/.env"
|
||||
|
||||
ansible-playbook ansible/start.yml -i ansible/hosts -K -e username="$USERNAME"
|
||||
# ansible-playbook ansible/start.yml -i ansible/hosts -K -e username="$USERNAME"
|
||||
|
||||
# Run docker-compose
|
||||
docker-compose --env-file "${ROOT_FOLDER}/.env" up --detach --remove-orphans --build || {
|
||||
|
|
Loading…
Add table
Reference in a new issue