Created
June 24, 2018 10:57
-
-
Save arcturus011/e47a13efe07eaca23fed7eef9752af25 to your computer and use it in GitHub Desktop.
docker-compose-custom-network
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
ffmpeg: | |
image: ffmpeg-nvidia | |
# ports: 27017:27017 | |
volumes: | |
- $HOME/media:/home/cch/media | |
- $PWD:/data | |
- /usr/lib/nvidia-384/:/usr/local/nvidia/lib/ | |
working_dir: /data | |
extra_hosts: | |
- "main:172.16.238.1" | |
networks: | |
app_net: {} | |
# name:my-app-net | |
# ipv4_address: 172.16.238.10 | |
networks: | |
app_net: | |
driver: bridge | |
ipam: | |
driver: default | |
config: | |
- subnet: 172.16.238.0/24 | |
- subnet: 2001:3984:3989::/64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment