initial commit

This commit is contained in:
2026-05-07 18:14:43 +02:00
commit 1191f091c4
10 changed files with 1325 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
services:
nginx:
image: nginx:alpine
ports:
- "8080:80"
volumes:
- ./frontend:/var/www/html
- ./docker/nginx.conf:/etc/nginx/conf.d/default.conf
depends_on:
- php
networks:
- neptune
php:
build:
context: .
dockerfile: docker/Dockerfile.php
volumes:
- ./backend:/var/www/backend
depends_on:
mysql:
condition: service_healthy
networks:
- neptune
mysql:
image: mysql:8.0
environment:
MYSQL_ROOT_PASSWORD: neptune_root_pass
MYSQL_DATABASE: neptune
MYSQL_USER: neptune
MYSQL_PASSWORD: neptune_pass
volumes:
- mysql_data:/var/lib/mysql
- ./docker/init.sql:/docker-entrypoint-initdb.d/init.sql
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
timeout: 10s
retries: 10
networks:
- neptune
volumes:
mysql_data:
networks:
neptune: