add sample docker-compose file

This commit is contained in:
John Bowdre 2022-01-05 15:24:40 -06:00
parent c854d87d31
commit 0e3563f984

View file

@ -0,0 +1,15 @@
version: '2'
services:
phpipam-agent:
container_name: phpipam-agent
restart: unless-stopped
image: jbowdre/phpipam-agent:latest
environment:
- MYSQL_ENV_MYSQL_HOST=ipamhost
- MYSQL_ENV_MYSQL_DATABASE=phpipam
- MYSQL_ENV_MYSQL_USER=phpipam
- MYSQL_ENV_MYSQL_PASSWORD=phpipamadmin
- MYSQL_ENV_MySQL_PORT=3306
- PHPIPAM_AGENT_KEY=2RuQ0rt4Rir29vGN4_1ZOqShcUX7PSUb
- CRON_SCHEDULE=*/15 * * * *
- TZ=UTC