2025-02-07 18:00:30 +01:00
|
|
|
volumes:
|
|
|
|
nginx-templates:
|
|
|
|
name: nginx-templates
|
|
|
|
driver: local
|
|
|
|
driver_opts:
|
2025-02-07 18:55:44 +01:00
|
|
|
device: $HOME/data/nginx/templates
|
2025-02-07 18:00:30 +01:00
|
|
|
o: "bind,ro"
|
|
|
|
type: none
|
|
|
|
nginx-entry:
|
|
|
|
name: nginx-entry
|
|
|
|
driver: local
|
|
|
|
driver_opts:
|
2025-02-07 18:55:44 +01:00
|
|
|
device: $HOME/data/nginx/entry
|
2025-02-07 18:00:30 +01:00
|
|
|
o: "bind,ro"
|
|
|
|
type: none
|
|
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
nginx:
|
|
|
|
container_name: inception-nginx
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: docker/images/nginx/Dockerfile
|
|
|
|
networks:
|
|
|
|
- inception
|
|
|
|
environment:
|
|
|
|
- TZ=Europe/Paris
|
|
|
|
- NGINX_PHP_HOST=inception-wordp-php
|
|
|
|
- NGINX_SSL_KEY_FILE=/etc/nginx/ssl/adjoly-wp.key
|
|
|
|
- NGINX_SSL_CERT_FILE=/etc/nginx/ssl/adjoly-wp.crt
|
|
|
|
- NGINX_EXPOSED_HOSTS=adjoly.42.fr
|
|
|
|
depends_on:
|
|
|
|
wordpress-php:
|
|
|
|
condition: service_healthy
|
|
|
|
db:
|
|
|
|
condition: service_healthy
|
|
|
|
volumes:
|
|
|
|
- wp-site:/var/www/html
|
|
|
|
- nginx-templates:/etc/nginx/templates
|
|
|
|
- nginx-entry:/docker-entrypoint.d
|
|
|
|
ports:
|
|
|
|
- "10443:443"
|
|
|
|
restart: unless-stopped
|
2025-02-07 18:55:44 +01:00
|
|
|
profiles:
|
|
|
|
- correction
|