mirror of
https://github.com/fernwerker/ownDynDNS.git
synced 2025-07-12 23:05:42 +02:00
add docker functionality
This commit is contained in:
parent
058a32533b
commit
28f384ee92
10 changed files with 46 additions and 0 deletions
24
docker-compose.yml
Normal file
24
docker-compose.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
version: "3"
|
||||
services:
|
||||
|
||||
nginx:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: nginx/Dockerfile
|
||||
image: nginx:alpine
|
||||
ports:
|
||||
- "8180:80"
|
||||
volumes:
|
||||
- data:/var/www/html
|
||||
|
||||
php:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: php/Dockerfile
|
||||
depends_on:
|
||||
- nginx
|
||||
volumes:
|
||||
- data:/var/www/html
|
||||
|
||||
volumes:
|
||||
data:
|
Loading…
Add table
Add a link
Reference in a new issue