mirror of
https://github.com/jbowdre/phpipam-agent-docker.git
synced 2024-11-25 16:32:20 +00:00
add sample docker-compose file
This commit is contained in:
parent
c854d87d31
commit
0e3563f984
1 changed files with 15 additions and 0 deletions
15
docker-compose.yml.example
Normal file
15
docker-compose.yml.example
Normal 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
|
Loading…
Reference in a new issue