Skip to content

Commit

Permalink
add nfs server
Browse files Browse the repository at this point in the history
  • Loading branch information
metavige committed Jul 16, 2021
1 parent 1ee2876 commit e4a7cbe
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions nfs-server/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: '3'
services:
# reference https://hub.docker.com/r/itsthenetwork/nfs-server-alpine
nfs:
image: itsthenetwork/nfs-server-alpine:12
environment:
- SHARED_DIRECTORY=/nfsshare
# - READ_ONLY=
# - PERMITTED=172.0.0.*
# - SYNC=async
cap_add:
- SYS_ADMIN
- SETPCAP
volumes:
- nfsshare:/nfsshare

volumes:
nfsshare: {}

networks:
devops:
external: true

0 comments on commit e4a7cbe

Please sign in to comment.