Update docker-compose.yaml
This commit is contained in:
parent
a9c94f4298
commit
5f172fb7ec
1 changed files with 2 additions and 6 deletions
|
@ -15,7 +15,7 @@ version: '3.3'
|
|||
# docker compose for npm open-appsec integration
|
||||
|
||||
services:
|
||||
appsec-npm:
|
||||
npm-centrally-managed-attachment:
|
||||
container_name: npm-attachment
|
||||
image: 'ghcr.io/openappsec/nginx-proxy-manager-centrally-managed-attachment:latest'
|
||||
ipc: host
|
||||
|
@ -27,22 +27,18 @@ services:
|
|||
volumes:
|
||||
- ./data:/data
|
||||
- ./letsencrypt:/etc/letsencrypt
|
||||
- ./appsec-logs:/ext/appsec-logs
|
||||
- ./appsec-localconfig:/ext/appsec
|
||||
|
||||
appsec-agent:
|
||||
container_name: appsec-agent
|
||||
image: 'ghcr.io/openappsec/agent:latest'
|
||||
network_mode: service:appsec-npm
|
||||
ipc: host
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
# adjust with your own email below
|
||||
- user_email=user@email.com
|
||||
- nginxproxymanager=true
|
||||
- autoPolicyLoad=true
|
||||
volumes:
|
||||
- ./appsec-config:/etc/cp/conf
|
||||
- ./appsec-data:/etc/cp/data
|
||||
- ./appsec-logs:/var/log/nano_agent
|
||||
command: /cp-nano-agent --token <TOKEN>
|
||||
command: /cp-nano-agent --token <TOKEN> # replace <TOKEN> with your own token below
|
||||
|
|
Loading…
Reference in a new issue