This repository has been archived by the owner on Aug 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move dev-specific services into compose overrides file
- Loading branch information
1 parent
3c99a17
commit 1ef64cc
Showing
3 changed files
with
27 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,35 @@ | ||
version: '3' | ||
|
||
services: | ||
# Services only needed for local development | ||
postgres: | ||
build: ./local_postgres | ||
environment: | ||
- POSTGRES_USER=deploy | ||
- POSTGRES_PASSWORD=deploy | ||
- POSTGRES_DB=openledger | ||
env_file: .env | ||
ports: | ||
- "5434:5432" | ||
volumes: | ||
- postgres-volume:/var/lib/postgresql/data | ||
|
||
s3: | ||
build: | ||
context: ./local_s3 | ||
ports: | ||
- "5000:5000" | ||
|
||
# Dev changes for the webserver container | ||
webserver: | ||
depends_on: | ||
- postgres | ||
- s3 | ||
volumes: | ||
- ./dags:/usr/local/airflow/dags | ||
build: | ||
args: | ||
- REQUIREMENTS_FILE=requirements_dev.txt | ||
|
||
volumes: | ||
postgres-volume: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters