Skip to content

Instantly share code, notes, and snippets.

@takumaw
Created August 31, 2018 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takumaw/fdbef144657c17859adc88bbbf84bad2 to your computer and use it in GitHub Desktop.
Save takumaw/fdbef144657c17859adc88bbbf84bad2 to your computer and use it in GitHub Desktop.
docker-compose.yml for use in enterprise environment
version: '3'
services:
xxx:
build:
context: dockerfile/
args:
- http_proxy=${http_proxy}
- https_proxy=${https_proxy}
- ftp_proxy=${ftp_proxy}
- no_proxy=${no_proxy}
restart: unless-stopped
network_mode: bridge
logging:
driver: json-file
options:
max-size: 50m
privileged: true
environment:
- TZ=Asia/Tokyo
- http_proxy=${http_proxy}
- https_proxy=${https_proxy}
- ftp_proxy=${ftp_proxy}
- no_proxy=${no_proxy}
ports:
- xxx:xxx
volumes:
- xxx:xxx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment