Created
August 24, 2016 16:20
-
-
Save jlk/f54a0f67ed842161a28c166c42713911 to your computer and use it in GitHub Desktop.
seccomp in docker-compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
db: | |
container_name: mariadb | |
image: mariadb:5.5 | |
ports: | |
- 3306 | |
cap_add: | |
- SYS_PTRACE | |
security_opt: | |
- seccomp="default.json" | |
environment: | |
MYSQL_ROOT_PASSWORD: T52o9NeDTqmRAcmt | |
MYSQL_DATABASE: wp | |
MYSQL_USER: wp | |
MYSQL_PASSWORD: arewedoneyet | |
wp: | |
container_name: wp | |
image: wordpress:latest | |
ports: | |
- 80:80 | |
links: | |
- db | |
environment: | |
WORDPRESS_DB_HOST: db | |
WORDPRESS_DB_USER: wp | |
WORDPRESS_DB_PASSWORD: arewedoneyet | |
WORDPRESS_DB_NAME: wp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment