fix infisical docker-compose
Infrastructure / Check and run Ansbile playbooks (pull_request) Successful in 1m46s
Details
Infrastructure / Check and run Ansbile playbooks (pull_request) Successful in 1m46s
Details
This commit is contained in:
parent
719640a98d
commit
bb096d43cb
|
@ -16,6 +16,7 @@
|
||||||
args:
|
args:
|
||||||
chdir: "{{ user.home }}/{{ app }}"
|
chdir: "{{ user.home }}/{{ app }}"
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
- name: Copy project
|
- name: Copy project
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "./{{ app }}"
|
src: "./{{ app }}"
|
||||||
|
@ -36,6 +37,7 @@
|
||||||
path: "{{ user.home }}/{{ app }}/.env"
|
path: "{{ user.home }}/{{ app }}/.env"
|
||||||
regexp: "SMTP_PASSWORD_VALUE"
|
regexp: "SMTP_PASSWORD_VALUE"
|
||||||
replace: "{{ lookup('ansible.builtin.env', 'SMTP_PASSWORD') }}"
|
replace: "{{ lookup('ansible.builtin.env', 'SMTP_PASSWORD') }}"
|
||||||
|
|
||||||
- name: Docker compose up -d
|
- name: Docker compose up -d
|
||||||
ansible.builtin.command: docker compose up -d
|
ansible.builtin.command: docker compose up -d
|
||||||
args:
|
args:
|
||||||
|
|
|
@ -9,8 +9,6 @@ services:
|
||||||
env_file: .env
|
env_file: .env
|
||||||
command: npm run migration:latest
|
command: npm run migration:latest
|
||||||
pull_policy: always
|
pull_policy: always
|
||||||
networks:
|
|
||||||
- infisical
|
|
||||||
|
|
||||||
backend:
|
backend:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -45,8 +43,6 @@ services:
|
||||||
env_file: .env
|
env_file: .env
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/nvme/pg_data:/var/lib/postgresql/data
|
- /mnt/nvme/pg_data:/var/lib/postgresql/data
|
||||||
networks:
|
|
||||||
- infisical
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: "pg_isready --username=${POSTGRES_USER} && psql --username=${POSTGRES_USER} --list"
|
test: "pg_isready --username=${POSTGRES_USER} && psql --username=${POSTGRES_USER} --list"
|
||||||
interval: 5s
|
interval: 5s
|
||||||
|
|
Loading…
Reference in New Issue