Skip to content

Commit

Permalink
Add a docker compose file for local development
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Feb 6, 2024
1 parent cc2e9f5 commit f704f26
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
# dbp Website
# dbp Website


Local development:

* `docker-compose up`
* http://localhost:8080
11 changes: 11 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: '3.8'

services:
nginx:
image: nginx:latest
ports:
- "8080:80"
volumes:
- ./default.conf:/etc/nginx/default.conf
- ./www:/usr/share/nginx/html
restart: always

0 comments on commit f704f26

Please sign in to comment.