mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-04 03:48:55 +02:00
.. | ||
docker-compose.yml | ||
Dockerfile | ||
nginx.conf | ||
README.md |
nginad
NginAd open source ad server & exchange with OpenRTB.
docker-compose.yml
nginad:
image: vimagick/nginad
ports:
- "80:80"
links:
- mysql
restart: always
mysql:
image: mysql
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=nginad
restart: always
run
$ fig up -d
$ wget https://nginad.atlassian.net/wiki/download/attachments/1114149/nginad-1.6.sql
$ docker exec -i nginad_mysql_1 mysql -u root -proot nginad < nginad-1.6.sql
$ docker exec nginad_nginad_1 sed -i "/adserver_domain/s/'.*'/'nginad.foobar.site'/" upload/public/ad/nginad.js
$ fig restart nginad
admin
Now log into the Demand Customer and Publisher dashboards as admin and start adding and configuring RTB campaigns.
- username: admin@localhost
- password: password
Log in as the default publisher account:
- username: sergey.page@blowmedianow.com
- password: password
Log in as the default demand customer account:
- username: larry.brin@suckmedianow.com
- password: password