diff --git a/Caddyfile b/Caddyfile new file mode 100644 index 0000000..cba8c4e --- /dev/null +++ b/Caddyfile @@ -0,0 +1,3 @@ +:80 +root * /srv +file_server diff --git a/docker-compose.yml b/docker-compose.yml index ffcb453..1f35b89 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,9 +2,10 @@ version: "3.9" services: web: - image: nginx:alpine + image: caddy:2-alpine container_name: arenos_www ports: - "2000:80" volumes: - - ./html:/usr/share/nginx/html:ro + - /srv/arenos-landing/html:/srv:ro + - ./Caddyfile:/etc/caddy/Caddyfile:ro \ No newline at end of file