version: '3' services: nginx: build: context: nginx/. args: - IMAGE=${MYIP_IMG:-nginx} - TAG=${MYIP_TAG:-alpine} container_name: ${MYIP_CONTAINER_NAME:-myip-nginx} restart: ${MYIP_RESTART:-unless-stopped} expose: - 80 env_file: - nginx.env networks: default: external: name: ${NETWORK:-webservices}