From bc3adffeb0513eb0336b42841df37ac6d103c547 Mon Sep 17 00:00:00 2001 From: Kim Brian Ramberg Date: Mon, 6 Oct 2025 18:33:10 +0200 Subject: [PATCH] - --- nginx/compose.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 nginx/compose.yml diff --git a/nginx/compose.yml b/nginx/compose.yml new file mode 100644 index 0000000..fe74979 --- /dev/null +++ b/nginx/compose.yml @@ -0,0 +1,12 @@ +#docker run --name docker-nginx -p 80:80 -v ~/docker-nginx/html:/usr/share/nginx/html -v ~/docker-nginx/default.conf:/etc/nginx/conf.d/default.conf -d nginx + +version: '3.9' +services: + nginx: + image: nginx + volumes: + - '/home/rcadmin/docker/nginx/default.conf:/etc/nginx/conf.d/default.conf' + - '/home/rcadmin/docker/nginx/html:/usr/share/nginx/html' + ports: + - '80:80' + container_name: nginx