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:
parent
a96b67c9da
commit
8796035016
2 changed files with 13 additions and 1 deletions
|
@ -5,7 +5,8 @@
|
||||||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||||
"image": "mcr.microsoft.com/devcontainers/base:jammy",
|
"image": "mcr.microsoft.com/devcontainers/base:jammy",
|
||||||
"features": {
|
"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.
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||||
|
|
11
docker-compose.yml
Normal file
11
docker-compose.yml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
services:
|
||||||
|
web:
|
||||||
|
build: .
|
||||||
|
ports:
|
||||||
|
- "3000:3000"
|
||||||
|
# depends_on:
|
||||||
|
# - db
|
||||||
|
# db:
|
||||||
|
# image: postgres
|
||||||
|
# environment:
|
||||||
|
# POSTGRES_PASSWORD: example
|
Loading…
Add table
Add a link
Reference in a new issue