Skip to content

Commit

Permalink
Impl
Browse files Browse the repository at this point in the history
  • Loading branch information
Ho-s committed Nov 4, 2024
1 parent d9b64d7 commit 355f5d5
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,25 @@ services:
ports:
- '${PORT}:${PORT}'
depends_on:
- korrk_postgres
# - korrk_postgres

korrk_postgres:
image: postgres
container_name: korrk_postgres
healthcheck:
test: ['CMD', 'pg_isready', '-U', 'postgres']
restart: unless-stopped
environment:
POSTGRES_USER: ${DB_USER}
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_DB: ${DB_NAME}
TZ: 'UTC'
PGTZ: 'UTC'
PGPORT: '5433'
ports:
- '5433:5432'
volumes:
- postgres-data:/var/lib/korrk/data
# korrk_postgres:
# image: postgres
# container_name: korrk_postgres
# healthcheck:
# test: ['CMD', 'pg_isready', '-U', 'postgres']
# restart: unless-stopped
# environment:
# POSTGRES_USER: ${DB_USER}
# POSTGRES_PASSWORD: ${DB_PASSWORD}
# POSTGRES_DB: ${DB_NAME}
# TZ: 'UTC'
# PGTZ: 'UTC'
# PGPORT: '5433'
# ports:
# - '5433:5432'
# volumes:
# - postgres-data:/var/lib/korrk/data

volumes:
postgres-data:

0 comments on commit 355f5d5

Please sign in to comment.