webdev/docker-compose.yml

70 lines
1.1 KiB
YAML
Raw Normal View History

2024-08-12 17:15:54 +02:00
version: '3.8'
services:
apache:
build:
context: ./apache
dockerfile: Dockerfile
ports:
- "80:80"
- "443:443"
volumes:
- ./apache/vhosts:/etc/apache2/sites-enabled
- ./projects:/var/www
- ./ssl:/etc/ssl/private
networks:
- dev_network
php74:
build:
context: ./php
dockerfile: Dockerfile-7.4
volumes:
- ./projects:/var/www
networks:
- dev_network
php81:
build:
context: ./php
dockerfile: Dockerfile-8.1
volumes:
- ./projects:/var/www
networks:
- dev_network
php83:
build:
context: ./php
dockerfile: Dockerfile-8.3
volumes:
- ./projects:/var/www
networks:
- dev_network
php84:
build:
context: ./php
dockerfile: Dockerfile-8.4
volumes:
- ./projects:/var/www
networks:
- dev_network
build_tools:
build:
context: ./build_tools
dockerfile: Dockerfile
volumes:
- ./projects:/var/www
ports:
- "2222:22"
networks:
- dev_network
networks:
dev_network:
driver: bridge
volumes:
projects: