restart policy

This commit is contained in:
nicco 2018-06-29 17:09:37 +02:00
parent e32d87897d
commit 468a9d19cf
2 changed files with 2 additions and 0 deletions

View File

@ -5,5 +5,6 @@ services:
build: ./ build: ./
ports: ports:
- 80:80 - 80:80
restart: always
volumes: volumes:
- ./icecast.xml:/usr/share/icecast/icecast.xml - ./icecast.xml:/usr/share/icecast/icecast.xml

View File

@ -6,6 +6,7 @@ services:
ports: ports:
- 80:80 - 80:80
- 1935:1935 - 1935:1935
restart: always
volumes: volumes:
- ./nginx.conf:/etc/nginx/nginx.conf - ./nginx.conf:/etc/nginx/nginx.conf
- ./srv:/srv - ./srv:/srv