From d37ec273ac0a080b1a0f744217306232d15f06ef Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Mon, 10 Mar 2025 16:08:03 +0100 Subject: [PATCH] use cupcakearmy/static instead of flashspys/nginx-static cupcakearmy's nginx has more configuraion options (you can override the nginx config for example) --- docker-compose.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 2b09564b..d87f646a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,11 +1,20 @@ services: - frontend: - image: flashspys/nginx-static - container_name: frontend + server: + image: cupcakearmy/static + restart: unless-stopped ports: - 8080:80 volumes: - - ./dist:/static + - ./dist:/srv:ro + +#services: +# frontend: +# image: flashspys/nginx-static +# container_name: frontend +# ports: +# - 8080:80 +# volumes: +# - ./dist:/static #backend: # image: directus/directus # container_name: backend