compose is shit
This commit is contained in:
11
.project
Normal file
11
.project
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>Froxlor-podman</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
69
README.md
Normal file
69
README.md
Normal file
@@ -0,0 +1,69 @@
|
||||
"podman",
|
||||
"create",
|
||||
"--name=froxlor-mariadb",
|
||||
"--label",
|
||||
"io.podman.compose.config-hash=dc2c3c7ac7b3e46788c3dc8fd16c945035b4dd4229be35f0640c354190e19dff",
|
||||
"--label",
|
||||
"io.podman.compose.project=froxlor-podman",
|
||||
"--label",
|
||||
"io.podman.compose.version=1.0.6",
|
||||
"--label",
|
||||
"PODMAN_SYSTEMD_UNIT=podman-compose@froxlor-podman.service",
|
||||
"--label",
|
||||
"com.docker.compose.project=froxlor-podman",
|
||||
"--label",
|
||||
"com.docker.compose.project.working_dir=/home/do/git/php/Froxlor-podman",
|
||||
"--label",
|
||||
"com.docker.compose.project.config_files=podman-compose.yml",
|
||||
"--label",
|
||||
"com.docker.compose.container-number=1",
|
||||
"--label",
|
||||
"com.docker.compose.service=mariadb-froxlor",
|
||||
"-e",
|
||||
"MARIADB_ROOT_PASSWORD=rootpW",
|
||||
"-v",
|
||||
"/home/do/git/php/Froxlor-podman/mariadb.d:/etc/mysql/conf.d",
|
||||
"-v",
|
||||
"froxlor-podman_mariadb-froxlor_1b71b9889c08dd7098bde93f37cdce61a2044921189884a078d8cb313f154db3:/var/lib/mysql",
|
||||
"--net",
|
||||
"froxlor-podman_froxlor",
|
||||
"--network-alias",
|
||||
"mariadb-froxlor",
|
||||
"-p",
|
||||
"3306:3306",
|
||||
"mariadb:latest"
|
||||
"podman",
|
||||
"create",
|
||||
"--name=froxlor-nginx-php",
|
||||
"--label",
|
||||
"io.podman.compose.config-hash=dc2c3c7ac7b3e46788c3dc8fd16c945035b4dd4229be35f0640c354190e19dff",
|
||||
"--label",
|
||||
"io.podman.compose.project=froxlor-podman",
|
||||
"--label",
|
||||
"io.podman.compose.version=1.0.6",
|
||||
"--label",
|
||||
"PODMAN_SYSTEMD_UNIT=podman-compose@froxlor-podman.service",
|
||||
"--label",
|
||||
"com.docker.compose.project=froxlor-podman",
|
||||
"--label",
|
||||
"com.docker.compose.project.working_dir=/home/do/git/php/Froxlor-podman",
|
||||
"--label",
|
||||
"com.docker.compose.project.config_files=podman-compose.yml",
|
||||
"--label",
|
||||
"com.docker.compose.container-number=1",
|
||||
"--label",
|
||||
"com.docker.compose.service=nginx-php",
|
||||
"-v",
|
||||
"/home/do/git/php/Froxlor:/app",
|
||||
"-v",
|
||||
"/home/do/git/php/Froxlor-podman/nginx.conf:/etc/nginx/nginx.conf",
|
||||
"--net",
|
||||
"froxlor-podman_froxlor",
|
||||
"--network-alias",
|
||||
"nginx-php",
|
||||
"-p",
|
||||
"8080:80",
|
||||
"--restart",
|
||||
"always",
|
||||
"localhost/php-nginx-kmmportal:latest"
|
||||
|
||||
35
mariadb.d/zz_local.cnf
Normal file
35
mariadb.d/zz_local.cnf
Normal file
@@ -0,0 +1,35 @@
|
||||
[mariadb]
|
||||
#innodb_buffer_pool_instances = 2
|
||||
innodb_buffer_pool_size = 2509690060
|
||||
#innodb_buffer_pool_size = 2.9G
|
||||
innodb_checksum_algorithm = crc32
|
||||
innodb_file_per_table = 1
|
||||
innodb_flush_log_at_trx_commit = 0
|
||||
innodb_lock_wait_timeout = 25
|
||||
innodb_log_buffer_size = 32M
|
||||
#innodb_log_file_size = 836563353
|
||||
innodb_log_file_size = 640M
|
||||
innodb_read_io_threads = 8
|
||||
innodb_spin_wait_delay = 24
|
||||
innodb_strict_mode = 1
|
||||
innodb_sync_spin_loops = 200
|
||||
innodb_write_io_threads = 8
|
||||
innodb_default_row_format = 'DYNAMIC'
|
||||
innodb_strict_mode=OFF
|
||||
[mysqld]
|
||||
max_allowed_packet = 512M
|
||||
join_buffer_size = 2097152
|
||||
max_connections = 200
|
||||
optimizer_search_depth = 0
|
||||
query_cache_limit = 836563353
|
||||
query_cache_size = 64M
|
||||
table_open_cache = 16384
|
||||
tmp_table_size = 96M
|
||||
max_heap_table_size = 96M
|
||||
performance_schema = ON
|
||||
wait_timeout = 3600
|
||||
connect_timeout = 120
|
||||
net_read_timeout=3600
|
||||
net_write_timeout=3600
|
||||
interactive_timeout=3600
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
user nginx;
|
||||
user www-data;
|
||||
worker_processes auto;
|
||||
|
||||
error_log /docker.stdout notice;
|
||||
|
||||
@@ -5,6 +5,26 @@ services:
|
||||
container_name: froxlor-nginx-php
|
||||
restart: always
|
||||
ports:
|
||||
- "8080:8080"
|
||||
volume:
|
||||
- /home/do/git/php/Froxlor:/app
|
||||
- "8080:80"
|
||||
volumes:
|
||||
- /home/do/git/php/Froxlor:/app
|
||||
- /home/do/git/php/Froxlor-podman/nginx.conf:/etc/nginx/nginx.conf
|
||||
depends_on:
|
||||
- froxlor-mariadb
|
||||
networks:
|
||||
- froxlor
|
||||
|
||||
mariadb-froxlor:
|
||||
image: mariadb:latest
|
||||
container_name: froxlor-mariadb
|
||||
ports:
|
||||
- "3306:3306"
|
||||
volumes:
|
||||
- "/home/do/git/php/Froxlor-podman/mariadb.d:/etc/mysql/conf.d"
|
||||
- "/var/lib/mysql"
|
||||
environment:
|
||||
- MARIADB_ROOT_PASSWORD=rootpW
|
||||
networks:
|
||||
- froxlor
|
||||
networks:
|
||||
froxlor: {}
|
||||
Reference in New Issue
Block a user