work on xai-corp vm servers
This commit is contained in:
3
dockerfiles/filesystem/Dockerfile
Normal file
3
dockerfiles/filesystem/Dockerfile
Normal file
@@ -0,0 +1,3 @@
|
||||
FROM kyma/docker-nginx
|
||||
COPY src/ /var/www
|
||||
CMD 'nginx'
|
||||
0
dockerfiles/filesystem/docker.vhost.conf
Normal file
0
dockerfiles/filesystem/docker.vhost.conf
Normal file
10
dockerfiles/gitea/docker-compose.yml
Normal file
10
dockerfiles/gitea/docker-compose.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
version: '2'
|
||||
services:
|
||||
app:
|
||||
restart: always
|
||||
image: "gitea/gitea:latest"
|
||||
volumes:
|
||||
- /var/lib/gitea:/data
|
||||
ports:
|
||||
- "10022:22"
|
||||
- "10080:3000"
|
||||
15
dockerfiles/jenkins/docker-compose.yml
Normal file
15
dockerfiles/jenkins/docker-compose.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
# DOCKER_HOST=192.168.2.41:2376 docker-compose up -d
|
||||
|
||||
version: '2'
|
||||
services:
|
||||
app:
|
||||
restart: always
|
||||
privileged: true
|
||||
image: "jenkins:alpine"
|
||||
|
||||
volumes:
|
||||
- /opt/shared/jenkins/home:/var/jenkins_home
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "5001:5000"
|
||||
18
dockerfiles/jira/docker-compose.yml
Normal file
18
dockerfiles/jira/docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
# https://hub.docker.com/r/cptactionhank/atlassian-jira/
|
||||
# docker run --detach --publish 8080:8080 cptactionhank/atlassian-jira:latest
|
||||
# DOCKER_HOST=dkhost02:2376 docker-compose up -d
|
||||
|
||||
version: '2'
|
||||
services:
|
||||
app:
|
||||
restart: always
|
||||
privileged: true
|
||||
image: "cptactionhank/atlassian-jira:latest"
|
||||
|
||||
# volumes:
|
||||
# - /var/atlassian/jira
|
||||
# - /opt/atlassian/jira/logs
|
||||
ports:
|
||||
# - "80:80"
|
||||
- "8088:8080"
|
||||
14
dockerfiles/orangescrum/docker-compose.yml
Normal file
14
dockerfiles/orangescrum/docker-compose.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
# DOCKER_HOST=192.168.2.41:2376 docker-compose up -d
|
||||
|
||||
version: '2'
|
||||
services:
|
||||
app:
|
||||
restart: always
|
||||
# privileged: true
|
||||
image: "orangescrum/official"
|
||||
ports:
|
||||
- "8085:80"
|
||||
# - "80:80"
|
||||
entrypoint:
|
||||
- start.sh
|
||||
12
dockerfiles/postgres/docker-compose.yml
Normal file
12
dockerfiles/postgres/docker-compose.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
version: '2'
|
||||
services:
|
||||
postgres:
|
||||
container_name: postgres-9.6
|
||||
restart: always
|
||||
image: "postgres:9.6-alpine"
|
||||
volumes:
|
||||
- /opt/shared/postgres/data:/data
|
||||
ports:
|
||||
- "5432:5432"
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=alphapass1
|
||||
4
dockerfiles/sslproxy/Dockerfile
Normal file
4
dockerfiles/sslproxy/Dockerfile
Normal file
@@ -0,0 +1,4 @@
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY ./nginx.conf /etc/nginx/nginx.conf
|
||||
COPY ./host.conf /etc/nginx/conf.d/host.conf
|
||||
7
dockerfiles/sslproxy/docker-compose.prod.yml
Normal file
7
dockerfiles/sslproxy/docker-compose.prod.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
version: '2'
|
||||
services:
|
||||
app:
|
||||
restart: always
|
||||
volumes:
|
||||
- /opt/shared/fileserver:/www/data:ro
|
||||
15
dockerfiles/sslproxy/docker-compose.yml
Normal file
15
dockerfiles/sslproxy/docker-compose.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
version: '2'
|
||||
services:
|
||||
app:
|
||||
restart: always
|
||||
image: "sslproxy:latest"
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
|
||||
volumes:
|
||||
- /etc/letsencrypt:/etc/letsencrypt:ro
|
||||
ports:
|
||||
# - "80:80"
|
||||
- "443:443"
|
||||
93
dockerfiles/sslproxy/host.conf
Normal file
93
dockerfiles/sslproxy/host.conf
Normal file
@@ -0,0 +1,93 @@
|
||||
# fs.xai-corp.net
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name fs.xai-corp.net;
|
||||
ssl_certificate /etc/letsencrypt/live/fs.xai-corp.net/cert.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/fs.xai-corp.net/privkey.pem;
|
||||
|
||||
#Strict-Transport-Security: max-age=15768000
|
||||
add_header Strict-Transport-Security "max-age=600; includeSubDomains" always;
|
||||
|
||||
location / {
|
||||
proxy_pass http://192.168.2.41:8081;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
# git.xai-corp.net
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name git.xai-corp.net docker.dev;
|
||||
ssl_certificate /etc/letsencrypt/live/git.xai-corp.net/cert.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/git.xai-corp.net/privkey.pem;
|
||||
|
||||
#Strict-Transport-Security: max-age=15768000
|
||||
add_header Strict-Transport-Security "max-age=600; includeSubDomains" always;
|
||||
|
||||
location / {
|
||||
proxy_pass http://192.168.2.41:10080;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
# jenkins.xai-corp.net
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name jenkins.xai-corp.net docker.dev;
|
||||
ssl_certificate /etc/letsencrypt/live/jenkins.xai-corp.net/cert.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/jenkins.xai-corp.net/privkey.pem;
|
||||
|
||||
#Strict-Transport-Security: max-age=15768000
|
||||
add_header Strict-Transport-Security "max-age=600; includeSubDomains" always;
|
||||
|
||||
location / {
|
||||
proxy_pass http://192.168.2.41:8080;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
# dkui.xai-corp.net
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name dkui.xai-corp.net docker.dev;
|
||||
ssl_certificate /etc/letsencrypt/live/dkui.xai-corp.net/cert.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/dkui.xai-corp.net/privkey.pem;
|
||||
#Strict-Transport-Security: max-age=15768000
|
||||
add_header Strict-Transport-Security "max-age=600; includeSubDomains" always;
|
||||
|
||||
location / {
|
||||
proxy_set_header Connection $http_connection;
|
||||
proxy_pass http://192.168.2.41:9000;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
# sql.xai-corp.net
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name sql.xai-corp.net docker.dev;
|
||||
ssl_certificate /etc/letsencrypt/live/sql.xai-corp.net/cert.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/sql.xai-corp.net/privkey.pem;
|
||||
#Strict-Transport-Security: max-age=15768000
|
||||
add_header Strict-Transport-Security "max-age=600; includeSubDomains" always;
|
||||
|
||||
location / {
|
||||
proxy_pass http://192.168.2.41:9000;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
# www.xai-corp.net
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name www.xai-corp.net xai-corp.net docker.dev;
|
||||
ssl_certificate /etc/letsencrypt/live/www.xai-corp.net/cert.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/www.xai-corp.net/privkey.pem;
|
||||
#Strict-Transport-Security: max-age=15768000
|
||||
add_header Strict-Transport-Security "max-age=600; includeSubDomains" always;
|
||||
|
||||
location / {
|
||||
proxy_pass http://192.168.2.41:9000;
|
||||
}
|
||||
|
||||
}
|
||||
32
dockerfiles/sslproxy/nginx.conf
Normal file
32
dockerfiles/sslproxy/nginx.conf
Normal file
@@ -0,0 +1,32 @@
|
||||
|
||||
user nginx;
|
||||
worker_processes 1;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
pid /var/run/nginx.pid;
|
||||
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
|
||||
http {
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||
|
||||
access_log /var/log/nginx/access.log main;
|
||||
|
||||
sendfile on;
|
||||
#tcp_nopush on;
|
||||
|
||||
keepalive_timeout 65;
|
||||
|
||||
#gzip on;
|
||||
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
}
|
||||
1
dockerfiles/sslproxy/testdata/_first.txt
vendored
Normal file
1
dockerfiles/sslproxy/testdata/_first.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
something elses.
|
||||
15
dockerfiles/ui/docker-compose.yml
Normal file
15
dockerfiles/ui/docker-compose.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
# DOCKER_HOST=192.168.2.41:2376 docker-compose up -d
|
||||
|
||||
version: '2'
|
||||
services:
|
||||
app:
|
||||
restart: always
|
||||
privileged: true
|
||||
image: "portainer/portainer"
|
||||
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
ports:
|
||||
# - "80:80"
|
||||
- "9000:9000"
|
||||
Reference in New Issue
Block a user