Skip to content

Commit

Permalink
BHEtter container
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinMind committed Jan 10, 2025
1 parent 118c459 commit 8182376
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 17 deletions.
31 changes: 17 additions & 14 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
{
"name": "Addons Server Development",
"dockerComposeFile": ["../docker-compose.yml"],
"service": "web",
"runServices": ["web", "nginx"],
"workspaceFolder": "/data/olympia",
"customizations": {},
"forwardPorts": ["nginx:80"],
"portsAttributes": {
"80": {
"label": "nginx",
"onAutoForward": "notify"
}
"name": "Addons-Server Devcontainer",
"dockerComposeFile": "docker-compose.yml",
"service": "app",
"workspaceFolder": "/workspaces",
"remoteEnv": {
"LOCAL_WORKSPACE_FOLDER": "/workspaces"
},

"features": {
"ghcr.io/devcontainers/features/docker-in-docker": {
"version": "latest",
"enableNonRootDocker": "true",
"moby": "true"
},
"initializeCommand": "make up_pre",
"postStartCommand": "make initialize"
"ghcr.io/jungaretti/features/make:1": {}
}

// "postStartCommand": "make up",
}
11 changes: 11 additions & 0 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
services:
app:
image: mcr.microsoft.com/devcontainers/base:bullseye
working_dir: /workspaces
volumes:
- ..:/workspaces

# Overrides default command so things don't shut down after the process ends.
entrypoint: /usr/local/share/docker-init.sh
command: sleep infinity

10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for more information:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# https://containers.dev/guide/dependabot

version: 2
updates:
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: weekly
- package-ecosystem: "npm"
directory: "/"
schedule:
Expand Down
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
*.css.tmp
.devcontainer
.devcontainer/*
*.egg-info
*.js.tmp
*.less.css
Expand Down Expand Up @@ -54,8 +54,10 @@ tmp/*
# End of .gitignore. Please keep this in sync with the top section of .dockerignore

# do not ignore the following files
!.devcontainer/devcontainer.json
!.devcontainer/docker-compose.yml
!.devcontainer/Dockerfile
!deps/.gitkeep
!docker-compose.private.yml
!.devcontainer/docker-compose.devcontainer.yml
!private/README.md
!storage/.gitignore
!deps/.gitkeep

0 comments on commit 8182376

Please sign in to comment.