Skip to content

Instantly share code, notes, and snippets.

@fcaldarelli
Created January 30, 2023 22:35
Show Gist options
  • Save fcaldarelli/3180fba07910fe6d85e06f76c8658059 to your computer and use it in GitHub Desktop.
Save fcaldarelli/3180fba07910fe6d85e06f76c8658059 to your computer and use it in GitHub Desktop.
version: '3'
services:
tomcat:
image: tomcat:8.0-alpine
container_name: tomcat
ports:
- '8080:8080'
volumes:
- tomcatDir:/usr/local/tomcat
volumes:
tomcatDir:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: ./tomcatDir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment