Created
June 11, 2019 04:10
-
-
Save peerasan/78d51d7de5a11fefd47c92d6144a751d to your computer and use it in GitHub Desktop.
docker-compose with system environment
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: | |
| patrickz: | |
| image: patrickz/ubuntu | |
| container_name: patrickz | |
| restart: always | |
| hostname: $HOSTNAME | |
| ports: | |
| - 19999:19999 | |
| environment: | |
| - TZ=Asia/Bangkok |
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
| HOSTNAME=$HOSTNAME docker-compose -f patrickz.yml config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment