init
This commit is contained in:
19
.devcontainer/external/docker-compose.yml
vendored
Normal file
19
.devcontainer/external/docker-compose.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
services:
|
||||
workspace:
|
||||
image: mcr.microsoft.com/devcontainers/universal:2
|
||||
volumes:
|
||||
- ../../:/workspaces/K12study:cached
|
||||
working_dir: /workspaces/K12study
|
||||
command: sleep infinity
|
||||
environment:
|
||||
K12STUDY_DB_HOST: ${K12STUDY_DB_HOST:-host.docker.internal}
|
||||
K12STUDY_DB_PORT: ${K12STUDY_DB_PORT:-5432}
|
||||
K12STUDY_DB_NAME: ${K12STUDY_DB_NAME:-k12study}
|
||||
K12STUDY_DB_USER: ${K12STUDY_DB_USER:-k12study}
|
||||
K12STUDY_DB_PASSWORD: ${K12STUDY_DB_PASSWORD:-k12study}
|
||||
K12STUDY_REDIS_HOST: ${K12STUDY_REDIS_HOST:-host.docker.internal}
|
||||
K12STUDY_REDIS_PORT: ${K12STUDY_REDIS_PORT:-6379}
|
||||
K12STUDY_REDIS_PASSWORD: ${K12STUDY_REDIS_PASSWORD:-}
|
||||
PYTHONUNBUFFERED: "1"
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
Reference in New Issue
Block a user