Created
August 31, 2018 14:06
-
-
Save takumaw/fdbef144657c17859adc88bbbf84bad2 to your computer and use it in GitHub Desktop.
docker-compose.yml for use in enterprise environment
This file contains 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: | |
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