move postgres services to global postgres
All checks were successful
Deploy Containers / Prepare (push) Successful in 54s
All checks were successful
Deploy Containers / Prepare (push) Successful in 54s
This commit is contained in:
@@ -1,31 +1,4 @@
|
||||
---
|
||||
- name: Deploy Drop Database
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: drop_postgres
|
||||
directories:
|
||||
- "{{ data_dir }}/drop"
|
||||
- "{{ data_dir }}/drop/db"
|
||||
image:
|
||||
name: postgres
|
||||
tag: 14-alpine
|
||||
network_name: drop
|
||||
networks:
|
||||
- name: drop
|
||||
healthcheck:
|
||||
test: pg_isready -d drop -U drop
|
||||
retries: 5
|
||||
start_period: 10s
|
||||
interval: 30s
|
||||
timeout: 60s
|
||||
volumes:
|
||||
- "{{ data_dir }}/drop/db:/var/lib/postgresql/data"
|
||||
env:
|
||||
POSTGRES_PASSWORD: "drop"
|
||||
POSTGRES_USER: "drop"
|
||||
POSTGRES_DB: "drop"
|
||||
|
||||
- name: Deploy Drop
|
||||
include_role:
|
||||
name: docker
|
||||
@@ -43,7 +16,7 @@
|
||||
- "{{ media_path }}/Games/Desktop:/library"
|
||||
- "{{ data_dir }}/drop/app:/data"
|
||||
env:
|
||||
DATABASE_URL: "postgres://drop:drop@drop_postgres:5432/drop"
|
||||
DATABASE_URL: "postgres://drop:drop@172.16.0.25:5432/drop"
|
||||
GIANT_BOMB_API_KEY: "{{ DROP_GIANT_BOMB_API_KEY }}"
|
||||
EXTERNAL_URL: "https://games.fntz.net"
|
||||
labels:
|
||||
|
||||
@@ -1,26 +1,4 @@
|
||||
---
|
||||
- name: Deploy Kotio Database
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: kotio_db
|
||||
directories:
|
||||
- "{{ data_dir }}/koito"
|
||||
- "{{ data_dir }}/koito/db"
|
||||
- "{{ data_dir }}/koito/app"
|
||||
network_name: kotio
|
||||
networks:
|
||||
- name: kotio
|
||||
image:
|
||||
name: postgres
|
||||
tag: 16
|
||||
env:
|
||||
POSTGRES_DB: kotio_db
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: "{{ KOTIO_DB_PASS }}"
|
||||
volumes:
|
||||
- "{{ data_dir }}/koito/db:/var/lib/postgresql/data"
|
||||
|
||||
- name: Deploy Kotio
|
||||
include_role:
|
||||
name: docker
|
||||
@@ -33,7 +11,7 @@
|
||||
name: gabehf/koito
|
||||
tag: latest
|
||||
env:
|
||||
KOITO_DATABASE_URL: "postgres://postgres:{{ KOTIO_DB_PASS }}@kotio_db:5432/kotio_db"
|
||||
KOITO_DATABASE_URL: "postgres://koito:{{ KOTIO_DB_PASS }}@172.16.0.25:5432/kotio"
|
||||
KOITO_ALLOWED_HOSTS: koito.fntz.net
|
||||
volumes:
|
||||
- "{{ data_dir }}/koito/app:/etc/koito"
|
||||
|
||||
Reference in New Issue
Block a user