2024-12-22 18:56:32 +01:00
|
|
|
name: inception
|
2024-12-13 18:54:39 +01:00
|
|
|
|
|
|
|
volumes:
|
2024-12-22 18:56:32 +01:00
|
|
|
wp-db:
|
|
|
|
wp-site:
|
2025-02-22 17:11:06 +01:00
|
|
|
nginx-certs:
|
2024-12-13 18:54:39 +01:00
|
|
|
|
|
|
|
networks:
|
|
|
|
inception:
|
|
|
|
external: false
|
|
|
|
|
|
|
|
services:
|
|
|
|
nginx:
|
|
|
|
container_name: inception-nginx
|
2025-01-07 16:01:49 +01:00
|
|
|
build:
|
|
|
|
context: .
|
2025-01-17 16:49:53 +01:00
|
|
|
dockerfile: docker/nginx/Dockerfile
|
2024-12-13 18:54:39 +01:00
|
|
|
networks:
|
|
|
|
- inception
|
|
|
|
environment:
|
|
|
|
- TZ=Europe/Paris
|
2025-01-17 16:49:53 +01:00
|
|
|
- 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
|
2024-12-13 18:54:39 +01:00
|
|
|
depends_on:
|
2025-01-17 16:49:53 +01:00
|
|
|
wordpress-php:
|
2025-02-15 19:22:32 +01:00
|
|
|
condition: service_healthy
|
2025-01-17 16:49:53 +01:00
|
|
|
db:
|
2025-02-15 19:22:32 +01:00
|
|
|
condition: service_healthy
|
2024-12-13 18:54:39 +01:00
|
|
|
volumes:
|
2025-02-15 19:22:32 +01:00
|
|
|
- wp-site:/var/www/wordpress
|
2025-01-17 16:49:53 +01:00
|
|
|
- ./configs/nginx/templates:/etc/nginx/templates
|
|
|
|
- ./configs/nginx/entry:/docker-entrypoint.d
|
2025-02-22 17:11:06 +01:00
|
|
|
- nginx-certs:/etc/nginx/ssl
|
2024-12-22 18:56:32 +01:00
|
|
|
ports:
|
2025-02-15 19:22:32 +01:00
|
|
|
- "8443:8443"
|
2024-12-13 18:54:39 +01:00
|
|
|
restart: unless-stopped
|
|
|
|
|
|
|
|
wordpress-php:
|
2025-01-12 15:17:52 +01:00
|
|
|
container_name: inception-wordp-php
|
2025-01-07 16:01:49 +01:00
|
|
|
build:
|
|
|
|
context: .
|
2025-01-15 22:06:40 +01:00
|
|
|
dockerfile: docker/wordpress/Dockerfile
|
2024-12-13 18:54:39 +01:00
|
|
|
networks:
|
|
|
|
- inception
|
2025-01-17 16:49:53 +01:00
|
|
|
depends_on:
|
|
|
|
db:
|
2025-02-15 19:22:32 +01:00
|
|
|
condition: service_healthy
|
2024-12-13 18:54:39 +01:00
|
|
|
environment:
|
2025-02-16 17:45:10 +01:00
|
|
|
- WP_DB_NAME=knl
|
|
|
|
- WP_DB_USER=kanel
|
|
|
|
- WP_DB_PASS=alpine
|
|
|
|
- WP_DB_HOST=db
|
|
|
|
- WP_ADMIN_EMAIL=contact@kanel.ovh
|
|
|
|
- WP_ADMIN_USER=kanel
|
|
|
|
- WP_ADMIN_PASS=alpine
|
|
|
|
- WP_URL=localhost:8443
|
|
|
|
- WP_TITLE=Kanel Supremacy
|
|
|
|
- WP_SEARCH_ENGINE_VISIBILITY=false
|
2025-01-10 16:57:23 +01:00
|
|
|
- PHP_MEMORY_LIMIT="512M"
|
|
|
|
- PHP_MAX_UPLOAD="50M"
|
2025-01-15 22:06:40 +01:00
|
|
|
- PHP_PORT=9000
|
2024-12-13 18:54:39 +01:00
|
|
|
- TZ=Europe/Paris
|
2024-12-22 18:56:32 +01:00
|
|
|
volumes:
|
2025-02-15 19:22:32 +01:00
|
|
|
- wp-site:/var/www/wordpress
|
2025-02-16 17:45:10 +01:00
|
|
|
- ./configs/wordpress/entry:/docker-entrypoint.d
|
2024-12-13 18:54:39 +01:00
|
|
|
restart: unless-stopped
|
|
|
|
|
|
|
|
db:
|
|
|
|
container_name: inception-db
|
2025-01-07 16:01:49 +01:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: docker/mariadb/Dockerfile
|
2024-12-13 18:54:39 +01:00
|
|
|
networks:
|
|
|
|
- inception
|
|
|
|
environment:
|
2025-01-07 16:01:49 +01:00
|
|
|
- MYSQL_ROOT_PASSWORD="alpine"
|
|
|
|
- MYSQL_PASSWORD="alpine"
|
|
|
|
- MYSQL_USER="kanel"
|
|
|
|
- MYSQL_DATABASE="knl"
|
2024-12-13 18:54:39 +01:00
|
|
|
- TZ=Europe/Paris
|
2024-12-22 18:56:32 +01:00
|
|
|
volumes:
|
|
|
|
- wp-db:/var/lib/mysql
|
2024-12-13 18:54:39 +01:00
|
|
|
restart: unless-stopped
|
2025-03-02 18:22:11 +01:00
|
|
|
|
|
|
|
ftp:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: docker/bonus/vsftpd/Dockerfile
|
|
|
|
ports:
|
|
|
|
- 2100:2100
|
|
|
|
- 30000-30100:30000-30100
|
|
|
|
volumes:
|
|
|
|
- wp-site:/var/ftp
|
|
|
|
environment:
|
|
|
|
- FTP_USER=kanel
|
|
|
|
- FTP_PASS=legoat
|
|
|
|
depends_on:
|
|
|
|
nginx:
|
|
|
|
condition: service_started
|
|
|
|
wordpress-php:
|
|
|
|
condition: service_healthy
|
|
|
|
|
|
|
|
static-site:
|
|
|
|
build: docker/bonus/static-site
|
|
|
|
ports:
|
|
|
|
- 8080:443
|
|
|
|
depends_on:
|
|
|
|
- nginx
|
|
|
|
environment:
|
|
|
|
- TZ=Europe/Paris
|
|
|
|
- NGINX_SSL_KEY_FILE=/etc/nginx/ssl/kanel-wp.key
|
|
|
|
- NGINX_SSL_CERT_FILE=/etc/nginx/ssl/kanel-wp.crt
|
|
|
|
|