Files
nibiru-framework-agent/docker-compose.yml
stephan.kasdorf 6c2d67a140 Add LetsEncrypt host to env and docker-compose files
An update was made in the environment variable `.env` file, where a new host for LetsEncrypt was added. This LetsEncrypt host was then also added to the `docker-compose.yml` file. These changes equip the application with SSL encryption capabilities.
2024-05-29 16:14:12 +02:00

30 lines
567 B
YAML

version: '3.3'
services:
php-fpm:
build:
context: ./php-fpm
volumes:
- ./src:/var/www/html
networks:
- nginx-proxy
restart: always
nginx:
image: nginx:latest
environment:
- LETSENCRYPT_HOST=${LETSENCRYPT_HOST}
- VIRTUAL_HOST=${VIRTUAL_HOST}
- VIRTUAL_PORT=${VIRTUAL_PORT}
volumes:
- ./src:/var/www/html
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
depends_on:
- php-fpm
networks:
- nginx-proxy
restart: always
networks:
nginx-proxy:
external: true