From: charleswrayjr Date: Fri, 5 Sep 2025 00:03:44 +0000 (-0500) Subject: Adding TeamCity db. X-Git-Url: https://git.phasecustomsoft.com/static/gitweb.css?a=commitdiff_plain;h=dbc36c6538ce24ce4e10f4893872238be7a132b5;p=phs-stack.git Adding TeamCity db. --- diff --git a/docker-compose.yml b/docker-compose.yml index 8ac5830..6f4b16a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,6 +20,27 @@ services: networks: - phs-net restart: unless-stopped + tc-db: + build: + dockerfile: Dockerfile + context: ./images/db + hostname: tc-db + container_name: tc-db + environment: + PHS_ENV: ${PHS_ENV} + TZ: America/Chicago + POSTGRES_USER: postgres + POSTGRES_PASSWORD: ab9cfz12 + POSTGRES_DB: postgres + PORT: 5432 + ports: + - "54328:5432" + volumes: + - ./volumes/tc-data:/var/lib/postgresql/data + command: postgres -c 'max_connections=500' + networks: + - phs-net + restart: unless-stopped api: build: dockerfile: Dockerfile diff --git a/images/tc-db/Dockerfile b/images/tc-db/Dockerfile new file mode 100644 index 0000000..5061e56 --- /dev/null +++ b/images/tc-db/Dockerfile @@ -0,0 +1 @@ +FROM postgres:12 \ No newline at end of file