merge-requests/2/head
Matthew 2021-05-07 20:41:41 -04:00
parent 82da2be1be
commit a79d2f020f
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
5 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,9 @@
version: "3.9"
services:
cassandra:
image: cassandra
restart: unless-stopped
volumes:
- "/var/lib/cassandra-1:/var/lib/cassandra"
hostname: cassandra

View File

@ -0,0 +1,23 @@
version: "3.9"
services:
freeipa:
image: "freeipa/freeipa-server:centos-8"
restart: "unless-stopped"
privileged: true
read_only: true
volumes:
- "/var/lib/ipa-data:/data:Z"
- "/var/lib/ipa-data/z/tmp:/tmp"
- "/sys/fs/cgroup:/sys/fs/cgroup:ro"
hostname: id.libraryofcode.org
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
ports:
- "7810:80/tcp"
- "7811:88/tcp"
- "7812:389/tcp"
- "7813:443/tcp"
- "7814:123/udp"
- "7815:464/tcp"
- "7816:636/udp"
- "7817:464/udp"

View File

@ -0,0 +1,15 @@
version: "3.9"
services:
mongodb:
image: mongo
restart: unless-stopped
volumes:
- "/opt/docker/mongodb-1-repl/conf:/etc/mongo:"
- "/opt/docker/mongodb-1-repl/mongo-keyfile:/etc/mongo-keyfile"
- "/opt/docker/mongodb-1-repl/data:/var/lib/mongodb"
- "/opt/docker/mongodb-1-repl/logs:/var/log"
hostname: staff.libraryofcode.org
command: mongod --config /etc/mongo/mongod.conf
network_mode: "host"
#ports:
# - "27018:27017"

View File

View File

@ -16,6 +16,8 @@ server {
error_log /var/log/nginx/canvas.error.log; error_log /var/log/nginx/canvas.error.log;
passenger_ruby /usr/local/bin/ruby2.4; passenger_ruby /usr/local/bin/ruby2.4;
passenger_load_shell_envvars off; passenger_load_shell_envvars off;
passenger_max_instances 3;
passenger_min_instances 2;
#passenger_log_level 4; #passenger_log_level 4;
passenger_start_timeout 300; passenger_start_timeout 300;
passenger_enabled on; passenger_enabled on;