1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-19 12:59:36 +02:00

Add Docker Compose file and update devcontainer.json

This commit is contained in:
Sean Morley 2024-04-01 21:13:59 +00:00
parent a96b67c9da
commit 8796035016
2 changed files with 13 additions and 1 deletions

View file

@ -5,7 +5,8 @@
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/base:jammy",
"features": {
"ghcr.io/devcontainers-contrib/features/node-asdf:0": {}
"ghcr.io/devcontainers-contrib/features/node-asdf:0": {},
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
}
// Features to add to the dev container. More info: https://containers.dev/features.

11
docker-compose.yml Normal file
View file

@ -0,0 +1,11 @@
services:
web:
build: .
ports:
- "3000:3000"
# depends_on:
# - db
# db:
# image: postgres
# environment:
# POSTGRES_PASSWORD: example