diff options
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 0466349..1505a51 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -180,6 +180,44 @@ services: volumes: - blog_data:/app/public + nquest_server: + image: gitrepo.ru/neonxp/nquest:latest + container_name: nquest_server + restart: unless-stopped + networks: + - gateway + - nquest + environment: + - POSTGRES_HOSTNAME=nquest_db + - POSTGRES_DB=nquest + - POSTGRES_USER=nquest + - POSTGRES_PASSWORD=nquest + - POSTGRES_PORT=5432 + - SECRET=${NQUEST_SECRET} + - LISTEN=:8080 + depends_on: + - nquest_db + nquest_db: + image: postgres:15-alpine + container_name: nquest_db + restart: always + environment: + - USER_UID=1001 + - USER_GID=1001 + - TZ=Europe/Moscow + - POSTGRES_DATABASE=nquest + - POSTGRES_USER=nquest + - POSTGRES_PASSWORD=nquest + healthcheck: + test: /usr/bin/pg_isready -U nquest -d nquest + interval: 5s + timeout: 10s + retries: 120 + networks: + - nquest + volumes: + - nquest_db_data:/var/lib/postgresql/data + volumes: caddy_data: opengist_data: @@ -188,8 +226,11 @@ volumes: forgejo_db_data: woodpecker_data: blog_data: + nquest_db_data: networks: gateway: forgejo: external: false + nquest: + external: false |