1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00
dockerfiles/nginad
2015-09-18 18:39:27 +08:00
..
docker-compose.yml add nginad 2015-09-18 17:08:57 +08:00
Dockerfile update 2015-09-18 18:39:27 +08:00
nginx.conf update 2015-09-18 18:39:27 +08:00
README.md update nginad 2015-09-18 18:00:23 +08:00

nginad

docker-compose.yml

nginad:
  image: vimagick/nginad
  ports:
    - "8080: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
$ fig restart