Compare commits

...

3 Commits
v0.1 ... master

Author SHA1 Message Date
root
892c4f18df lynis 2020-11-12 17:12:00 +01:00
root
b619806141 portainer 2020-11-10 18:08:26 +01:00
root
3c06751036 wordpress 2020-11-10 18:01:33 +01:00
4 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,29 @@
version: '3.3'
services:
db:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: somewordpress
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
wordpress:
depends_on:
- db
image: wordpress:latest
ports:
- "8000:80"
restart: always
environment:
WORDPRESS_DB_HOST: db:3306
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: wordpress
WORDPRESS_DB_NAME: wordpress
volumes:
db_data: {}

View File

@ -0,0 +1,15 @@
version: '3.3'
services:
portainer:
image: portainer/portainer-ce
ports:
- "8000:8000"
- "9000:9000"
volumes:
- /var/run/docker.sock:/var/run/docker.socsk
- portainer_data:/data
restart: always
volumes:
portainer_data: {}

View File

@ -0,0 +1,15 @@
version: '3.3'
services:
portainer:
image: portainer/portainer-ce
ports:
# - "8000:8000"
- "9000:9000"
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data
volumes:
portainer_data: {}

3
lynis/local.yml Normal file
View File

@ -0,0 +1,3 @@
- hosts: localhost
roles:
- dev-sec.os-hardening