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

22 lines
427 B
YAML
Raw Normal View History

2024-03-20 12:25:56 +02:00
version: '3.9'
services:
web:
2024-03-26 12:54:39 +02:00
container_name: thinkcentre-static
2024-03-20 12:25:56 +02:00
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