Clean version, LICENSE and README added
This commit is contained in:
+20
-15
@@ -1,26 +1,26 @@
|
||||
version: '2.2'
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
web:
|
||||
image: nginx:latest
|
||||
ports:
|
||||
- "8080:80"
|
||||
- "80:80"
|
||||
volumes:
|
||||
- ./webroot:/webroot
|
||||
- ./resources/nginx/default.conf:/etc/nginx/conf.d/default.conf
|
||||
- ./resources/nginx/nginx.conf:/etc/nginx/nginx.conf
|
||||
- ./webroot:/webroot:ro
|
||||
- ./resources/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
- ./resources/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
- ./log/nginx:/var/log/nginx
|
||||
links:
|
||||
- php
|
||||
networks:
|
||||
- backend
|
||||
restart: always
|
||||
|
||||
php:
|
||||
build: ./php/
|
||||
volumes:
|
||||
- ./webroot:/webroot
|
||||
- ./resources/php/custom.ini:/usr/local/etc/php/conf.d/custom.ini
|
||||
links:
|
||||
- database
|
||||
- ./webroot:/webroot:ro
|
||||
- ./resources/php/custom.ini:/usr/local/etc/php/conf.d/custom.ini:ro
|
||||
networks:
|
||||
- backend
|
||||
restart: always
|
||||
|
||||
database:
|
||||
@@ -28,15 +28,20 @@ services:
|
||||
volumes:
|
||||
- ./log/mariadb:/var/log/mysql
|
||||
- ./data/mariadb:/var/lib/mysql
|
||||
- ./resources/mariadb/base.sql:/docker-entrypoint-initdb.d/init.sql
|
||||
- ./resources/mariadb/custom.cnf:/etc/mysql/conf.d/custom.cnf
|
||||
- ./resources/mariadb/base.sql:/docker-entrypoint-initdb.d/init.sql:ro
|
||||
- ./resources/mariadb/custom.cnf:/etc/mysql/conf.d/custom.cnf:ro
|
||||
environment:
|
||||
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
|
||||
networks:
|
||||
- backend
|
||||
restart: always
|
||||
|
||||
debian:
|
||||
build: ./debian-ssh/
|
||||
ports:
|
||||
- "2222:22"
|
||||
- "2077:22"
|
||||
restart: always
|
||||
cpus: '.3'
|
||||
|
||||
networks:
|
||||
backend:
|
||||
driver: bridge
|
||||
|
||||
Reference in New Issue
Block a user