docker-compose/thinkcentre/thinkcentre-static/docker-compose.yml

22 lines
421 B
YAML

version: '3.9'
services:
web:
container_name: nginx-server
image: nginx:latest
ports:
- '80:80'
- '443:443'
volumes:
- ./src:/var/www/html
- ./src/minecraft/mods:/home/thord/minecraft/mods
- ./default.conf:/etc/nginx/conf.d/default.conf
links:
- php-fpm
php-fpm:
container_name: nginx-php-fpm
image: php:8-fpm
volumes:
- ./src:/var/www/html