forked from sqlfluff/sqlfluff
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
28 lines (28 loc) · 832 Bytes
/
docker-compose.yml
File metadata and controls
28 lines (28 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
services:
development:
build:
context: .
dockerfile: ./docker/development/Dockerfile
environment:
- SSH_AUTH_SOCK=/ssh-agent
- POSTGRES_HOST=postgres
volumes:
- .:/app
- ./test/fixtures/dbt/profiles_yml:/root/.dbt
- ~/.gitconfig:/etc/gitconfig
- ~/.ssh:/root/.ssh
- /run/host-services/ssh-auth.sock:/ssh-agent
stdin_open: true
tty: true
depends_on:
- postgres
entrypoint: /bin/bash
postgres:
image: postgres:14-bullseye
environment:
- POSTGRES_PASSWORD=password
ports:
# NOTE: "5432:5432" makes the Postgres server accessible to both the host
# developer machine *and* the "app" container in Docker. If you don't want
# it available on the host machine, change this to simply "5432".
- "5432:5432"