Remove PM2 steps

This commit is contained in:
Nicolas Meienberger 2022-05-16 23:34:33 +02:00
parent 0e7b0a0a3e
commit 8d1b53c905
4 changed files with 4 additions and 9 deletions

View File

@ -3,5 +3,4 @@ packages:
- ufw
- coreutils
- git
- docker
- openssh-server
- docker

View File

@ -60,7 +60,3 @@
name: ufw
state: started
enabled: yes
- name: Enable UFW
community.general.ufw:
state: enabled

View File

@ -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`) &&

View File

@ -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 || {