04d8b6421a
* experiment with devcontainer.json * introduce a docker-compose for devcontainer * Devcontainers! * version pop * Port labeling and a complimentary env variable * see it to believe it * Update .devcontainer/devcontainer.json * Update .devcontainer/devcontainer.json * Update .devcontainer/docker-compose.yml --------- Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>
22 lines
No EOL
478 B
YAML
22 lines
No EOL
478 B
YAML
version: '3.8'
|
|
services:
|
|
app:
|
|
image: mcr.microsoft.com/vscode/devcontainers/javascript-node:0-18
|
|
volumes:
|
|
- ..:/workspace:cached
|
|
network_mode: service:db
|
|
command: sleep infinity
|
|
user: zipline
|
|
db:
|
|
image: postgres:latest
|
|
restart: unless-stopped
|
|
environment:
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=postgres
|
|
- POSTGRES_DATABASE=postgres
|
|
volumes:
|
|
- pg_data:/var/lib/postgresql/data
|
|
|
|
volumes:
|
|
pg_data:
|
|
|