-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testing docker env don. TODO: migrations
- Loading branch information
Qwelian Tanner
authored and
Qwelian Tanner
committed
May 20, 2024
1 parent
fb36a68
commit 34df4d6
Showing
3 changed files
with
27 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,7 @@ yarn-error.log* | |
|
||
# local env files | ||
.env*.local | ||
.env*.testing | ||
|
||
# vercel | ||
.vercel | ||
|
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
services: | ||
app: | ||
build: | ||
context: . | ||
args: | ||
- PACKAGE=core | ||
image: core | ||
env_file: | ||
- core/.env.testing | ||
restart: unless-stopped | ||
depends_on: | ||
- postgres | ||
ports: | ||
- 8000:8000 | ||
postgres: | ||
image: postgres:15.1 | ||
restart: unless-stopped | ||
environment: | ||
POSTGRES_USER: postgres | ||
POSTGRES_PASSWORD: postgres | ||
POSTGRES_DB: testing | ||
POSTGRE_HOST_AUTH_METHOD: trust | ||
ports: | ||
- 5432:5432 |
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