Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
Modified Docker-compose to give containers unique names
Browse files Browse the repository at this point in the history
  • Loading branch information
jardayn committed Oct 31, 2022
1 parent c4e9093 commit a8fddb7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.8"

services:
postgres:
container_name: postgresql
container_name: dd-postgresql
image: postgres:14.1-alpine
# work_mem: less tmp files
# maintenance_work_mem: improve table-level op perf
Expand All @@ -25,7 +25,7 @@ services:
- local

mysql:
container_name: mysql
container_name: dd-mysql
image: mysql:oracle
# fsync less aggressively for insertion perf for test setup
command: >
Expand All @@ -52,7 +52,7 @@ services:
- local

clickhouse:
container_name: clickhouse
container_name: dd-clickhouse
image: clickhouse/clickhouse-server:21.12.3.32
restart: always
volumes:
Expand All @@ -76,6 +76,7 @@ services:

# prestodb.dbapi.connect(host="127.0.0.1", user="presto").cursor().execute('SELECT * FROM system.runtime.nodes')
presto:
container_name: dd-presto
build:
context: ./dev
dockerfile: ./Dockerfile.prestosql.340
Expand All @@ -88,6 +89,7 @@ services:
- local

trino:
container_name: dd-trino
image: 'trinodb/trino:389'
hostname: trino
ports:
Expand All @@ -98,7 +100,7 @@ services:
- local

vertica:
container_name: vertica
container_name: dd-vertica
image: vertica/vertica-ce:12.0.0-0
restart: always
volumes:
Expand Down

0 comments on commit a8fddb7

Please sign in to comment.