This repository has been archived on 2025-08-21. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
hugo-mistergeek/docker-compose.yml
2025-08-19 19:10:43 +02:00

30 lines
507 B
YAML

networks:
web:
external: true
services:
nginx:
image: nginx:alpine
ports:
- "80:80"
volumes:
- ./public:/usr/share/nginx/html:ro
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
restart: unless-stopped
environment:
- NGINX_HOST=localhost
- NGINX_PORT=80
networks:
- web
builder:
build:
context: .
dockerfile: Dockerfile
entrypoint: /bin/sh
volumes:
- .:/app
networks:
- web
# command: ls -l