mirror of
https://github.com/30hours/blah2.git
synced 2024-11-18 12:33:58 +00:00
20 lines
No EOL
362 B
YAML
20 lines
No EOL
362 B
YAML
version: '3'
|
|
|
|
networks:
|
|
nginx-web:
|
|
external: true
|
|
|
|
services:
|
|
httpd:
|
|
restart: always
|
|
image: nginx:1.25.2-alpine
|
|
ports:
|
|
- 8080:80
|
|
volumes:
|
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
|
- ./html:/usr/local/apache2/htdocs
|
|
environment:
|
|
- VIRTUAL_HOST=domain.tld
|
|
networks:
|
|
- nginx-web
|
|
container_name: blah2 |