mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-08 04:04:42 +02:00
update
This commit is contained in:
parent
0a46047639
commit
c450b978ab
@ -26,13 +26,22 @@ mysql:
|
||||
|
||||
```
|
||||
$ 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
|
||||
$ docker exec nginad_nginad_1 sed -i "s/server.nginad.com/nginad.foobar.site/" upload/config/autoload/delivery.local.php
|
||||
|
||||
$ DOMAIN=nginad.foobar.site
|
||||
$ docker exec nginad_nginad_1 sed -i "/adserver_domain/s/'.*'/'$DOMAIN'/" upload/public/ad/nginad.js
|
||||
$ docker exec nginad_nginad_1 sed -i "s/server.nginad.com/$DOMAIN/" upload/config/autoload/delivery.local.php
|
||||
$ docker exec nginad_nginad_1 sed -i "s/server.nginad.com/$DOMAIN/" upload/public/buytest.html
|
||||
|
||||
$ fig restart nginad
|
||||
```
|
||||
|
||||
## test
|
||||
|
||||
Open test page in your browser: <http://nginad.foobar.site/buytest.html>
|
||||
|
||||
## admin
|
||||
|
||||
Now log into the Demand Customer and Publisher [dashboards][2] as admin and
|
||||
|
Loading…
Reference in New Issue
Block a user