Premier commit
This commit is contained in:
		
							
								
								
									
										44
									
								
								roles/docker-graylog-pont/files/docker-compose.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								roles/docker-graylog-pont/files/docker-compose.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,44 @@ | ||||
| version: '2' | ||||
| services: | ||||
|   # MongoDB: https://hub.docker.com/_/mongo/ | ||||
|   mongodb: | ||||
|     image: mongo:3 | ||||
|   # Elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/6.x/docker.html | ||||
|   elasticsearch: | ||||
|     image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.5.4 | ||||
|     environment: | ||||
|       - http.host=192.168.0.50 | ||||
|       - transport.host=localhost | ||||
|       - network.host=0.0.0.0 | ||||
|       - "ES_JAVA_OPTS=-Xms512m -Xmx512m" | ||||
|     ulimits: | ||||
|       memlock: | ||||
|         soft: -1 | ||||
|         hard: -1 | ||||
|     mem_limit: 1g | ||||
|   # Graylog: https://hub.docker.com/r/graylog/graylog/ | ||||
|   graylog: | ||||
|     image: graylog/graylog:2.5 | ||||
|     environment: | ||||
|       # CHANGE ME! | ||||
|       - GRAYLOG_PASSWORD_SECRET=somepasswordpepper | ||||
|       # Password: admin | ||||
|       - GRAYLOG_ROOT_PASSWORD_SHA2=8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918 | ||||
|       - GRAYLOG_WEB_ENDPOINT_URI=http://127.0.0.1:9000/api | ||||
|     links: | ||||
|       - mongodb:mongo | ||||
|       - elasticsearch | ||||
|     depends_on: | ||||
|       - mongodb | ||||
|       - elasticsearch | ||||
|     ports: | ||||
|       # Graylog web interface and REST API | ||||
|       - 9000:9000 | ||||
|       # Syslog TCP | ||||
|       - 515:514 | ||||
|       # Syslog UDP | ||||
|       - 515:514/udp | ||||
|       # GELF TCP | ||||
|       - 12201:12201 | ||||
|       # GELF UDP | ||||
|       - 12201:12201/udp | ||||
							
								
								
									
										13
									
								
								roles/docker-graylog-pont/files/fstab
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								roles/docker-graylog-pont/files/fstab
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| # /etc/fstab: static file system information. | ||||
| # | ||||
| # Use 'blkid' to print the universally unique identifier for a | ||||
| # device; this may be used with UUID= as a more robust way to name devices | ||||
| # that works even if disks are added and removed. See fstab(5). | ||||
| # | ||||
| # <file system> <mount point>   <type>  <options>       <dump>  <pass> | ||||
| /dev/mapper/stretch64--vg-root /               ext4    errors=remount-ro 0       1 | ||||
| # /boot was on /dev/sda1 during installation | ||||
| UUID=8f340ef0-94a1-4730-8da3-81ce5e38d666 /boot           ext2    defaults        0       2 | ||||
| /dev/mapper/stretch64--vg-swap_1 none            swap    sw              0       0 | ||||
| /dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0 | ||||
| /dev/sdb1       /var/lib/containers	ext4	defaults	  0	 0 | ||||
							
								
								
									
										2
									
								
								roles/docker-graylog-pont/files/https_proxy.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								roles/docker-graylog-pont/files/https_proxy.conf
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| [Service] | ||||
| Environment="HTTPS_PROXY=http://10.121.38.1:8080/" | ||||
		Reference in New Issue
	
	Block a user