Skip to content

Commit

Permalink
Exposes /var/lib/asterisk as a volume
Browse files Browse the repository at this point in the history
  • Loading branch information
yvnicolas committed Mar 27, 2015
1 parent c1c8cc6 commit 10bfc0f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ Work in progress

The main directory, should be self sustainable now. Other directories are kept for reference.

Container exposes following volumes :
```
/etc/asterisk
/var/log/asterisk
/var/lib/asterisk
```

### useful commands to manage the container :

```
Expand Down
1 change: 1 addition & 0 deletions asterisk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ RUN chown -R $ASTERISKUSER:$ASTERISKUSER /var/lib/asterisk \
#Expose outside volumes
VOLUME /var/log/asterisk
VOLUME /etc/asterisk
VOLUME /var/lib/asterisk

#Copy minimum configuration files so that it can start
COPY initconfigfiles/etc/* /etc/asterisk/
Expand Down

0 comments on commit 10bfc0f

Please sign in to comment.