initial switch to a devcontainer
This commit is contained in:
1 parent
2bd853e9b5
commit
65dddea3bc
8 files changed
+102
-3
No files matched your search
@@ -0,0 +1,29 @@
|
||||
services:
|
||||
dev:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
command: sleep infinity
|
||||
volumes:
|
||||
- ..:/workspaces/max:cached
|
||||
- home:/home/dev
|
||||
environment:
|
||||
- PYTHONPATH=/workspaces/max
|
||||
- FLASK_APP=max.app
|
||||
- FLASK_ENV=development
|
||||
- PGSQL_HOST=postgresql
|
||||
- PGSQL_PORT=5432
|
||||
- PGSQL_USER=max
|
||||
- PGSQL_PASSWORD=max
|
||||
- PGSQL_NAME=max
|
||||
depends_on:
|
||||
- postgresql
|
||||
postgresql:
|
||||
image: postgres:18.6
|
||||
environment:
|
||||
- POSTGRES_USER=max
|
||||
- POSTGRES_PASSWORD=max
|
||||
- POSTGRES_DB=max
|
||||
volumes:
|
||||
home:
|
||||
name: max-devcontainer-home
|
||||
Reference in new issue
Block a user